Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I need some help. Im using a image to link to a popup windows. the image show perfect with this kind of path:
/sites/default/files/styles/large/public/suscribe.png
Most of the node path in my site are something like:
mynamedomain.com/node
But I have some node with this path:
mynamedomain.com/idea/node
In this case the image path end in this:
/idea/sites/default/files/styles/large/public/suscribe.png
And the image dont display.
There is any solution? some code?
I can change the node path but I prefer to keep the urls.
There is a why to add a absolute path?
Comment | File | Size | Author |
---|---|---|---|
#1 | popup-correct-image-tag-syntax-2270647-1.patch | 415 bytes | eric.napier |
Comments
Comment #1
eric.napier CreditAttribution: eric.napier at CivicActions commentedThis issue is caused by a missing forward slash in the path of the image tag in "includes/popup.util.inc". The issue is also mentioned on this closed issue here: https://www.drupal.org/project/popup/issues/1738576#comment-8535495, and is leading to other users developing alternate solutions and hacking this module: https://www.drupal.org/project/popup/issues/2034085, https://www.drupal.org/project/popup/issues/1805842.
Merging this patch should fix the issue for everybody, and allow images to be used as the title for the popup by following the instructions in the module's README.TXT.
Comment #2
eric.napier CreditAttribution: eric.napier at CivicActions commentedComment #3
vuilI move the issue to
7.x-1.x-dev
branch and will commit the patch #1.Comment #5
vuilThank you!
Comment #6
vuilComment #7
vuilComment #9
vuil