How can i insert more than 1 picture for a particular listing? How can i insert more than 1 picture for a particular listing?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How can i insert more than 1 picture for a particular listing?

Started by kimy_cool, April 22, 2004, 04:19:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kimy_cool

Hi,

How can i insert a picture then add related pictures to it? i.e let say a i insert a picture of a lake then top view of the lake, then another picture of a boat on the lake.

So when i click on the lake picture, i get the big picture + the addon pictures below the picture or in the same page. I'd realy appreciate your help

-kimy_cool

Casper

Create an album for the lake, and put all related pics in it.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

kimy_cool


cannot create an album for each because i have 3000 pictures each with at least 3 related pictures  :o

Joachim Müller

you could use bbcode to add a link to the related pics in the description field.

GauGau

kimy_cool


If i put the bbcode link, the problem will be that one has to click to see the picture yet the idea is to have the pictures displayed all at once. There is a place in cpg where you define custom fields for entry, how can i use this but i can define the field as a field for browsing for a picture?

Is it possible and how?

Joachim Müller

without extreme code modifications this is not possible imo.

GauGau

kimy_cool



So if i was to modify the code, which files should i start with? Am not very good in php but i can try! :o

Tarique Sani

If I understand right you want more than one picture on the page where the normal size picture is displayed that is displayimage.php?

If you want to do it using the custom field then I would say make changes which will allow you to put an <img src="yourrelated.jpg" > in the custom fields
SANIsoft PHP applications for E Biz

kimy_cool


Yes that's what i mean!

So if i also get you right, can i have a browse for a file in the custom fields instead of having to put the image manually?

Before i edit displayimage.php to add  <img src="myrelatedimage.jpg"> so as to view a related image, shouldn't i 1st the provision of adding the picture when uploading it to an album?

Please help


Tarique Sani

Quote from: kimy_cool on April 23, 2004, 04:13:57 PM
So if i also get you right, can i have a browse for a file in the custom fields instead of having to put the image manually?
Well if you can program it - you can have it, it is not there right now and unlikely to be there in future .....
SANIsoft PHP applications for E Biz

kimy_cool



Yes i can try program it, but which files are responsible for picture uploads, display and the kind? Infact is there a mods manual which guides developers in developing such modules or extensions?

Joachim Müller

no manual available - you will have to hack your way through. For your purpose, all relevant code should be in displayimage.php (not sure though)...

GauGau