So, my chronoconnectivity list is having this small thumbnail image :
what i do next is, i want that image to show in "modal" when it clicked, but what happen next is the modal windows shows the image code , it is not showing the image, something like this :
here is my body code from the "Custom Listings" to show the thumbnail and link to a bigger image:
Any suggestion why the modal is not working ? it's working fine on the normal joomla article
what i do next is, i want that image to show in "modal" when it clicked, but what happen next is the modal windows shows the image code , it is not showing the image, something like this :
����JFIF``��C ��C��2"�� ���}!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������������������������������������������������������� ���w!1AQaq"2�B���� #3R�br� $4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz���������������������������������������
here is my body code from the "Custom Listings" to show the thumbnail and link to a bigger image:
<td><a class="modal" href="http://localhost/mywebsite/userdata/{imagelink}" rel="{handler:'image'}"><img width="50" height="25" src="http://localhost/mywebsite/userdata/{imagelink}"></a></td>
Any suggestion why the modal is not working ? it's working fine on the normal joomla article
Hi Carloso,
I can't think of any explanation for this. There is nothing I know of in CC that will change the URL like this.
If you put the listing on-line so that we can see it there might be some clues.
Bob
I can't think of any explanation for this. There is nothing I know of in CC that will change the URL like this.
If you put the listing on-line so that we can see it there might be some clues.
Bob
Hi Bob,
Sorry maybe i'm not too clear , it's not changing the URL , it's changing the image format , you know it's like if you drag an image file to a notepad , the output is something like that .... like this:
Sorry maybe i'm not too clear , it's not changing the URL , it's changing the image format , you know it's like if you drag an image file to a notepad , the output is something like that .... like this:
Hi Carloso,
Ah OK - it's treating the image as a text file instead of an image file. I can only that there's something odd with the link you are building. What do you see if you look at the page HTML with View Source?
Bob
Ah OK - it's treating the image as a text file instead of an image file. I can only that there's something odd with the link you are building. What do you see if you look at the page HTML with View Source?
Bob
ah you are right ..i should've done that
in the html - view source , the " {handler:'image'}" is missing , so it's only rel=""
my guess it is because chronoconnectivity strippped the curly bracket {
in the html - view source , the " {handler:'image'}" is missing , so it's only rel=""
my guess it is because chronoconnectivity strippped the curly bracket {
Hi Carloso,
Hmmmm . . . that makes sense, the RePublisher sees anything in curly brackets as a possible form value and tries to replace it. I don't have a good solution for that :-(
I wonder if Max has any suggestions?
Bob
Hmmmm . . . that makes sense, the RePublisher sees anything in curly brackets as a possible form value and tries to replace it. I don't have a good solution for that :-(
I wonder if Max has any suggestions?
Bob
Maybe try to replace the {} by their html entities so they don't get replaced by CC, so it should be:
But I'm not sure if that will work!
{handler:'image'}
But I'm not sure if that will work!
This topic is locked and no more replies can be posted.
