image showing in album

Forum rules
Support ended: 31.12.2011

image showing in album

Postby jhonny » Wed Feb 02, 2011 9:05 pm

I want to change this row in function_display.

Code: Select all
'UC_THUMBNAIL'   => generate_image_link('thumbnail', $gallery_config['link_thumbnail'], $image_data['image_id'], $image_data['image_name'], $image_data['image_album_id']),


so the image shown on the album page is the same that is shown on the image page from this code.

Code: Select all
'UC_IMAGE'         => generate_image_link('medium', $gallery_config['link_imagepage'], $image_id, $image_data['image_name'], $album_id, ((substr($image_data['image_filename'], 0 -3) == 'gif') ? true : false), false),


Anyone knows how to do this?

Thanks in advance for any help!
jhonny
Posts 10 - 20
Posts 10 - 20
 
Posts: 17
Topics: 6
Joined: Thu Jun 03, 2010 6:34 pm

Re: image showing in album

Postby nickvergessen » Thu Feb 03, 2011 12:54 pm

replace thumbnail with medium?
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5753
Topics: 218
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: image showing in album

Postby jhonny » Thu Feb 03, 2011 6:10 pm

I am using the phpbb seo mod for gallery. There are three types of image urls

/album-a1/image-m2.jpg for medium
/album-a1/image-t2.jpg for thumbnail
/album-a1/image-i2.jpg this is the one I want to show but I dont what to replace thumbnail with to get this image
jhonny
Posts 10 - 20
Posts 10 - 20
 
Posts: 17
Topics: 6
Joined: Thu Jun 03, 2010 6:34 pm

Re: image showing in album

Postby nickvergessen » Thu Feb 03, 2011 9:23 pm

try medium
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5753
Topics: 218
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: image showing in album

Postby jhonny » Thu May 12, 2011 6:06 pm

The image that shows on the image page is named like this
www.page.com/gallery/album-a8/image-i679.jpg

If I I put medium in the code I get this image
www.page.com/gallery/album-a8/image-m679.jpg

Both show the same size but the gif animation dissappear with the "m" image.
How can I make the "i" image show on the album page.
jhonny
Posts 10 - 20
Posts 10 - 20
 
Posts: 17
Topics: 6
Joined: Thu Jun 03, 2010 6:34 pm

Re: image showing in album

Postby jhonny » Thu May 12, 2011 7:26 pm

Code: Select all
'UC_MEDIUM'      => generate_image_link('medium', $gallery_config['image_page'], $image_data['image_id'], $image_data['image_name'], $image_data['image_album_id']),


Putting it like gives me the "m" image with a link to the "i" image. But I need the "i" image to show directly.

If this is not possible, is it possible to simply get the URL for the "i" image in plain text, as in:
www.page.com/gallery/album-a8/image-i679.jpg
jhonny
Posts 10 - 20
Posts 10 - 20
 
Posts: 17
Topics: 6
Joined: Thu Jun 03, 2010 6:34 pm

Re: image showing in album

Postby nickvergessen » Fri May 13, 2011 10:19 am

change medium to image in the code you posted.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5753
Topics: 218
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: image showing in album

Postby loveorigami » Sun May 15, 2011 9:35 pm

Hi Nick!
I have small question.

Users on my forum uploading image without approval. But, if image have mistake in Description (model origami without author and source), moderator give status "UNapprove image".

How i can do, that user can see this "UNapprove image" in your personal album and can edit Description?
Many thanks.
User avatar
loveorigami
Posts 10 - 20
Posts 10 - 20
 
Posts: 17
Topics: 6
Images: 1
Joined: Tue Jul 27, 2010 5:18 pm

Re: image showing in album

Postby nickvergessen » Mon May 16, 2011 12:04 pm

unapproved images can only be viewed by moderators.
You would need to give them the m_status permission in "Own Personal Albums"
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5753
Topics: 218
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen


Return to Supported Addons

Who is online

Users browsing this forum: No registered users and 1 guest