This Q&A offers a method by using Photoshop to load .js. However, I found this website can achieve this goal without using Photoshop.

My question is how this website achieves this goal?

  • 1
    Hello @olivia and welcome to GDSE, I don't think they goes with photoshop smart object. the one they using should probably achieved by some sort of styling code which can be dynamic! So I don't think it has to be any connection with photoshop :D
    – Mr.Online
    Sep 5, 2019 at 3:30
  • Olivia, I think a better example mIght be placeit.net/iphone-mockup-templates
    – Joonas
    Sep 5, 2019 at 6:17
  • @Mr.Online Hi Thanks. Maybe, we can still use Photoshop, but we should avoid open Photoshop and install script. Instead, we can directly use Photoshop library.
    – olivia
    Sep 5, 2019 at 6:37
  • 1
    This won't be possible with JavaScript: JS scripts require Photoshop. But might be with Python and psd-tools: pypi.org/project/psd-tools I haven't tried myself though. Sep 5, 2019 at 6:46
  • 1
    Please edit your question to make it clear: if your question is about Photoshop, you already have the answer. If it's about the website (which has nothing to do with smart objects) then you're asking about web implementation which is off-topic here, better check on Stack Overflow.
    – Luciano
    Sep 5, 2019 at 8:40


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.