Advanced search  

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]

Pages: [1]   Go Down

Author Topic: How can i insert more than 1 picture for a particular listing?  (Read 4090 times)

0 Members and 1 Guest are viewing this topic.

kimy_cool

  • Coppermine newbie
  • Offline Offline
  • Posts: 10

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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How can i insert more than 1 picture for a particular listing?
« Reply #1 on: April 22, 2004, 04:30:25 pm »

Create an album for the lake, and put all related pics in it.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: How can i insert more than 1 picture for a particular listing?
« Reply #2 on: April 22, 2004, 05:12:48 pm »


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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How can i insert more than 1 picture for a particular listing?
« Reply #3 on: April 22, 2004, 07:01:40 pm »

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

GauGau
Logged

kimy_cool

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: How can i insert more than 1 picture for a particular listing?
« Reply #4 on: April 23, 2004, 08:54:18 am »


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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How can i insert more than 1 picture for a particular listing?
« Reply #5 on: April 23, 2004, 09:24:52 am »

without extreme code modifications this is not possible imo.

GauGau
Logged

kimy_cool

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: How can i insert more than 1 picture for a particular listing?
« Reply #6 on: April 23, 2004, 11:48:49 am »



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
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: How can i insert more than 1 picture for a particular listing?
« Reply #7 on: April 23, 2004, 12:25:57 pm »

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
Code: [Select]
<img src="yourrelated.jpg" > in the custom fields
Logged
SANIsoft PHP applications for E Biz

kimy_cool

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: How can i insert more than 1 picture for a particular listing?
« Reply #8 on: April 23, 2004, 04:13:57 pm »


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 
Code: [Select]
<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
Logged

kimy_cool

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: How can i insert more than 1 picture for a particular listing?
« Reply #9 on: April 24, 2004, 10:18:06 am »



anyone? ::)
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: How can i insert more than 1 picture for a particular listing?
« Reply #10 on: April 24, 2004, 10:50:59 am »

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 .....
Logged
SANIsoft PHP applications for E Biz

kimy_cool

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: How can i insert more than 1 picture for a particular listing?
« Reply #11 on: April 24, 2004, 03:16:19 pm »



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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How can i insert more than 1 picture for a particular listing?
« Reply #12 on: April 24, 2004, 03:52:22 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.