Full size image with custom information Full size image with custom information
 

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

Full size image with custom information

Started by veez, March 15, 2008, 05:13:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

veez

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

veez

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

veez

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

veez

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.


veez

oops,

the above link was supposed to be as follow:

500 by 600

Joachim Müller

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

veez

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



Joachim Müller

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:[url=http://mysite.com/size500by600.jpg]500 by 600[/url]