1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need help with PHP code - relating to image loading

Discussion in 'PHP' started by Carlx, Dec 11, 2008.

  1. #1
    Hi,

    Is there a quick peice of code to load an image in the following way;

    thumbnail imaages = ww.web-url.com/folder/thumbnail
    full size images = ww.web-url.com/folder/fullsize/
    PHP page = ww.web-url.com/folder/index.php

    I want to be able to load the full size images inside the php file, so there is just 1 php file and when a person clicks on a thumbnail linking to the php file it will load the corresponding fullsize image.

    I have never done anything relating to image handling before in PHP and have struggled to find anything relevant on google, so this my last rewsort to actually ask for him.

    Thanks in advance to anyone who can shed a little light on it.
    SEMrush
     
    Carlx, Dec 11, 2008 IP
    SEMrush
  2. newgenservices

    newgenservices Well-Known Member

    Messages:
    862
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    105
    Digital Goods:
    1
    #2
    You might try PHPSlideShow v0.9 written by Greg Lawler at from http://www.zinkwazi.com/scripts

    Just 1 PHP file and another html file (design template). Simple as that.
     
    newgenservices, Dec 11, 2008 IP
    Carlx likes this.
  3. Carlx

    Carlx Active Member

    Messages:
    434
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    90
    #3
    Thanks NGS, that was what i was attempting to code, it saved me a lot of time and effort, updated one of my sites and all is well in the world again.

    I left you +Rep.

    Thanks again.
     
    Carlx, Dec 11, 2008 IP