Skip to main content
Participant
March 28, 2022
Question

Bulk linking individual images

  • March 28, 2022
  • 5 replies
  • 382 views

Hi all, 

 

I have a question that the answer will make life loads easier for myself and others. I'm hoping there is a way to link images in bulk in Dreamweaver.

We're building emails with sliced images saved for web from photoshop, the HTML is then opened in Dreamweaver and we copy and paste individual links to their image slice one at a time from an excel spreadsheet (200+ images with a link each).

Is there a way that we can possibly add links in bulk to these consective images using a CSV file or something similar?

Say I setup the spreadsheet to have all the links matching the order of the images, and then importing that data to attach the first link in the spreadsheet to the first image in dreamweaver, and so on.

Is this possible in some capacity? Or am I completely dreaming here.

Thanks in advance!!

This topic has been closed for replies.

5 replies

Nancy OShea
Community Expert
Community Expert
March 28, 2022

Nobody uses archaic image slices anymore.  That practice dates back to early, early days of the Internet when dial-up speeds were slower than a snail and users had to wait forever for web pages to load.   Do not use sliced images and HTML code generated by graphics apps.  The code is not fit for production use.  Photoshop code is for quick comps to show a client before you re-code the project manually in Dreamweaver.  

 

You should not have more than 3 fully web optimized images in an email.  Email is fundamentally text-based communication, not visual like real websites.   Also many email clients block images for security reasons.  Which means roughly half or more of your address list will never see the images anyway.  Use text to communicate your message.  Use a sprinkle of 2-3 images for spice.

 

To answer your question, there is no automagic way to bulk insert images into your HTML code.  Each <img src> points to a unique location on your server.  That's not a Dreamweaver limitation, it's a limitation of HTML.

 

Nancy O'Shea— Product User & Community Expert
B i r n o u
Legend
March 28, 2022

I'm not sure to catch what you would like to get... but if you copy paste an excel sheet in dreamweaver or any where in a text editor... you will get a list of all the row table.

then you can search and replace the very first part of the line byt what ever HTML code you like, and fianly the last part of the line bay the closing HTML part...

three clik and you're done...

well it's wire and tape, but it works and I had it done to get me out of a jam with a big time limit

Community Expert
March 28, 2022

You might be able to do this but it's a far reach. For instance, this sounds like it could be an e-commerce setup with images for products that you need to send automatically to potential customers.  It might be possible with the API from your ESP or Marketing platform that you can automate some of this work to store/tie images to links.  But it would not be an easy setup and Dreamweaver would be out of the equation for this type of process.

Legend
March 28, 2022

One would question why you have/need 200 plus images in an email template. 

 

Anyway it's not going to be possible for an email template as it would involve linking to some kind of storage, whether that be an external json file, or javascript array of objects. What you can do when building an email template is fairly limited.

 

Edited - thinking on my feet here:

Having said that it might be possible if youre sending the email out with php. There's nothing stopping you from linking to a database of image names/links and looping through them to compile the html before emailing it out. However a loop is a loop so the images would need to appear one after the other, which might not be the desired effect.

 

I know you can import the csv file information directly into a mysql database using phpMyAdmin.

 

 

BenPleysier
Community Expert
Community Expert
March 28, 2022
quote

 

Is this possible in some capacity? Or am I completely dreaming here.


By @spicyjbvisuals

 

The latter.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!