PSD to HTML conversion with images inside same folder
Copy link to clipboard
Copied
Hi folks. Right now when I do a PSD to HTML conversion, all the spliced images are stored inside a subfolder. Is there a way to have them saved in the same folder as the HTML itself, without being in a sub folder?
This is a requirement for my client's mailer tool
Explore related tutorials & articles
Copy link to clipboard
Copied
All you need to do is move the images into the same path (folder) as the HTML file, then edit the code to remove the images/ prefix. Here is an example where the first has been changed and the second hasn't:
<td>
<img src="pic-1.jpg" width="436" height="600" alt=""></td>
<td>
<img src="images/pic-2.jpg" width="364" height="600" alt=""></td>
</tr>
Copy link to clipboard
Copied
I agree with @Stephen Marsh - but had been thinking how easy this would be to do with Find/Replace in your text editor.
Adobe Community Expert / Adobe Certified Instructor
Copy link to clipboard
Copied
I agree with Stephen Marsh - but had been thinking how easy this would be to do with Find/Replace in your text editor.
By S_Gans
Agreed, I didn't mention it as I thought it goes without saying, but yes – a multiple find/replace would be the way to go as there is no point doing this manually more than once (and there should always be multiple slices).
Copy link to clipboard
Copied
Copy link to clipboard
Copied
@Michael Bullo - Haha, amazing what you find when you look (I obviously didn't)!
Copy link to clipboard
Copied
@Stephen Marsh Might I suggest that you are too busy writing top notch code to be poking around in obscure menus of unofficially retired features 😉

