https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Displaying multiple images in grid?

  • jac48
  • jac48's Avatar Topic Author
  • Visitor
  • Visitor
10 years 11 months ago #2157

I am using the JX Grid to display my database in an article. One of my fields in my MYSQL database is 'View Record'.
In the database field I placed '<a href="Census/1885/Bandon/B-1.jpg"><img src="Bandon/B-1sm.jpg" width="10" height="11"
border="0"> </a>". I set the link type to Custom ID and Link Column to ID.

When I view my database in my article it works great. The problem I'm having is that there are 11,000 records and after
the first page, when I click on the link, it links back to the first page of my database instead of showing the jpg.
If I set the page limit to 40 records, the first 40 work fine, but 41 onward doesn't show the jpg. When I click on the
link, it goes back to the first page of records. What am I doing wrong???

I'm not a web site guru... Any help would be greatfully appreciated.

Jeanne

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #2158

Hi,

if you placed '<a href="Census/1885/Bandon/B-1.jpg"><img src="Bandon/B-1sm.jpg" width="10" height="11"
border="0"> </a>' on your database it should work without using the Link option. Try to disable the Link option.

Do you have this example online, so I can take a closer look at the problem?

Please Log in or Create an account to join the conversation.

  • jac48
  • jac48's Avatar Topic Author
  • Visitor
  • Visitor
10 years 11 months ago #2159

I unclicked the link in JX and saved. Tried again. Still doesn't link once I click on anything but page 1.
I'm running on a WAMP Server. Does that make a difference.

Jeanne

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #2160

I see what could be the problem now. Try to use absolute link in the href attribute of the <a> tag. This would be something "like hppt://localhost/your_joomla_folder/Census/1885/Bandon/B-1.jpg".
Once you go online, you will have to replace "localhost" with the name of your server.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.161 seconds

Contact Us

Contact us on Discord

Contact us on Facebook