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: Full size image with custom information  (Read 3275 times)

0 Members and 1 Guest are viewing this topic.

veez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Full size image with custom information
« on: March 15, 2008, 05:13:08 am »

Hello,

I think I saw something like but I cant seem to find it using the search now.

on the intermediary page,
I have used bbcodes to provide links to different size images such as 300x500, 500x600.

Each of these pics pops up in a new window.

I would like the new window to have a header or instructions with it as well.

Any ideas

This is the first step.

Thanks of course
Logged

veez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Full size image with custom information
« Reply #1 on: March 15, 2008, 05:19:54 am »

An example of this is as follows:

http://www.kristenstewart.net/gallery/displayimage.php?album=1&pos=2

When you click on the pic it opens innew window with header.

Although, I am providing links via bbcode
Logged

veez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Full size image with custom information
« Reply #2 on: March 15, 2008, 05:27:27 am »

ok some brainstorming.

So there needs to be a template file created called newwindowcontent.php

Now, when I click on the bbcode url links for the pics, the above file needs to be triggered and then parse the url and display image.

That is as far as I can go ;D
Logged

veez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Full size image with custom information
« Reply #3 on: March 15, 2008, 04:31:38 pm »

Well, after looking at each post one by one.

I did come across Nibblers response:

Copy theme_display_fullsize_pic() from the sample theme into your custom theme.php and modify your copy.

But I am supposing this would only work if I click on the intermediary pic.
As stated earlier I intend to give links via bbcodes and via clicking these links I want to modify the fullsize pop up window.


An example of the bbcode links.  Under the image, I have lnks for various sizes.  So when you click on them, a new window opens up with only the pic without any custom info.




Hopefully this better describes the scenario. So wondering how I would tackle this.

Logged

veez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Full size image with custom information
« Reply #4 on: March 15, 2008, 04:33:25 pm »

oops,

the above link was supposed to be as follow:

500 by 600
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Full size image with custom information
« Reply #5 on: March 15, 2008, 11:28:06 pm »

The link you posted is wrong - it returns a 404 not found. Stop playing games if you want help.
Logged

veez

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Full size image with custom information
« Reply #6 on: March 16, 2008, 02:11:18 am »

I think you misunderstood. ;D

I was showing how I would have the bbcode links setup.

While I typed the bbcode, it automatically turned into url.  I was demonstrating how I have bbcode setup.
I've now used paranthesis instead of brackets.

(url=http://mysite.com/a lbums/pics/size_500_by_600.jpg) 500 by 600 (/url])

Thanks for looking into this


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Full size image with custom information
« Reply #7 on: March 16, 2008, 08:32:38 am »

There is no description available on the example http://www.kristenstewart.net/gallery/displayimage.php?album=1&pos=2 that you posted. I have no idea what you're trying to say. If you want to show how your bbcode looks like, use the code-button on this form (the one with a has sign), so your posting will look like this:
Code: [Select]
[url=http://mysite.com/size500by600.jpg]500 by 600[/url]
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 14 queries.