Skip to main content
Mohammed Al Hallaq
Participant
February 1, 2021
Question

I need to replace a smart layer in PSD mockup file using java script for a web application

  • February 1, 2021
  • 2 replies
  • 464 views

Hi developers

I am developing a web application, and I want any app visitor to chose any mockup file, then upload his own logo/design, after that the application will replace the smart layer in the mockup file with the new one.

anybody can help in this subject.

This topic has been closed for replies.

2 replies

JJMack
Community Expert
Community Expert
February 2, 2021

You may want to contact Adobe  believe Adobe is developing some offering that facilitates using Photoshop in a web Application.   Currently using Photoshop in a web application would be violation the terms  agreement you have for the use of  Adobe Products.  You would need to be able to replace Smart object layers without using Photoshop in your web application.   Adobe IO photo imaging api 

 

The demo video demonstrated the use of Photoshop Actions. I did not see any reference to Photoshop scripting. So I do not know if you could develop automation like my Photoshop mockup populating scripts.

 

JJMack
Nancy OShea
Community Expert
Community Expert
February 2, 2021

PNG images with the PHP function called imagecopymerge() are all you need.  This has nothing to do with Photoshop!

https://www.geeksforgeeks.org/php-imagecopymerge-function/

 

 

 

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
February 1, 2021

This is not a Photoshop question. Whoever builds the app will need expert skills with server-side programming and databases. Which ones will depend on your server and hosting plan.  For questions concerning web & app development, ask the Dreamweaver forum.

https://community.adobe.com/

 

Nancy O'Shea— Product User & Community Expert