Hello everybody
I whas searching for a nice script that is easy to edit for a "renders" page.., So i can easy make new category's, and when i add something, (that i can choose the category), and then there's a thumbnail in that category (on renders.php) , and that thumbnail links to the real image..
Realy thank you in advance!
Best regards,
Mike!
images [PHP]
Started by MsTreYe, Jul 12 2005 02:55 PM
3 replies to this topic
#1
Posted 12 July 2005 - 02:55 PM
#2
Posted 12 July 2005 - 04:36 PM
I cant think of any pre-made script that you can use for that. But if you know any php at all, you should be able to write it in less then a day.
Simply do something like:
Simply do something like:
<a href="/larger_pic.php?id=1"><img src="/image/small/test.gif"></a>
/* larger_pic.php... */
<?
$array = array('test.gif', 'other.gif', 'new.jpg');
echo '<img src="/image/large/'.$array[$_GET['id']].'>';
?>
#3
Posted 12 July 2005 - 04:57 PM
thats the problem, i started today with trying to make codes myself,, Before i only didt "copy 'nd paste"..
#4
Posted 13 July 2005 - 01:11 AM
Well, i personally started learning php through the copy/paste method, so theres nothing wrong with that. But if you need more help, we need more info as to what the exact problem is.
From what i can make out of your question, the basic script i provided would work just fine (naturally you'd have to add a lot more to it... but it's a general idea).
From what i can make out of your question, the basic script i provided would work just fine (naturally you'd have to add a lot more to it... but it's a general idea).
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
