Copy link to clipboard
Copied
Hi, i'm working with my own dreamweaver template (.dwt), so i have a lot of html pages located in nultiple levels (folders and subfolders i mean) depending by this unique template. Now i need to use the attribute srcset in my template, but it is not given a relative url in pages dependent on it. How to fix it?
Regards
[Moderator edited title for clarity.]
Yes, i'm placing this code inside the main template.dwt file. Ok, i will submit this issue from my help menu, thanks a lot. Actually, i temporary solved this issue using root path like / instead of relative path, it seems work fine with my linux server.
Best regards
Copy link to clipboard
Copied
Forgot... i use Adobe Dreamweaver CC
And here an example of code:
<source media="(max-width: 320px)" srcset="../assets/img/myimage200x41.png">
if i put this code into my model, the src remain the same in all the pages (ex. ../assets/img/myimage200x41.png)
Copy link to clipboard
Copied
Are you placing this code inside the main template.dwt file? If yes, then DW isn't able to update the file path in SRCSET tags for you. This has been a pain point for many of us for quite some time.
Please submit a Bug/Feature request from your Help Menu.
Copy link to clipboard
Copied
Yes, i'm placing this code inside the main template.dwt file. Ok, i will submit this issue from my help menu, thanks a lot. Actually, i temporary solved this issue using root path like / instead of relative path, it seems work fine with my linux server.
Best regards
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more