coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: veez on March 15, 2008, 05:13:08 AM

Title: Full size image with custom information
Post by: veez 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
Title: Re: Full size image with custom information
Post by: veez 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
Title: Re: Full size image with custom information
Post by: veez 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
Title: Re: Full size image with custom information
Post by: veez 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.

(http://mysite.com/albums/pics/size_500_by_600.jpg%5B/url)
Title: Re: Full size image with custom information
Post by: veez on March 15, 2008, 04:33:25 PM
oops,

the above link was supposed to be as follow:

500 by 600 (http://mysite.com/size500by600.jpg)
Title: Re: Full size image with custom information
Post by: Joachim Müller 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.
Title: Re: Full size image with custom information
Post by: veez 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


Title: Re: Full size image with custom information
Post by: Joachim Müller 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:[url=http://mysite.com/size500by600.jpg]500 by 600[/url]