Jump to content

Pagination type method . . but with images?


Solarpitch

Recommended Posts

Hey Guys,

Just wondering if any of you could help me with the following. Unfortunatly this kind of stuff falls well above my ability to implement in PHP!

The example below explains it all. When I call this image to a page it will be part of an ad. Each add will have 3 images..

ad_id = 3
    image_1.jpg
    image_2.jpg
    image_3.jpg ... and so on

Is there a way you can use a "pagination" type method to display the images as I've shown? My aim is to have it just like my example, with the main image been shown in a div 200 * 200 and then 2 links to the other 2. When 1 of the other 2 are selected, it displays that into the main div.

emmm . . hope I explained that ok.

[url=http://xs.to][img]http://xs110.xs.to/xs110/06523/example5.gif[/img][/url]
Link to comment
https://forums.phpfreaks.com/topic/31998-pagination-type-method-but-with-images/
Share on other sites

Yeah,

I have pagination implemented already in my site, and it works perfect! But its a little different using images. This will force the "page to change" thus, changing the image but removing the rest of the data from the page.

Would there be an eaiser way to achieve this?
[quote]But its a little different using images[/quote]

No its not. Its just that your only displaying one record (image) at a time instead of say 10. If youve allready got pagination working in other areas of your site it should be quite simple to port that some code over to this solution.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.