Overlib width and settings around it

Phoca Gallery - image gallery extension
Grandseigneur
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 14 Nov 2008, 20:00

Overlib width and settings around it

Post by Grandseigneur »

Hi guys,

for record: I have read a few of the overlib articles in this forum, unfortunately, I was not able to find the information, I require.

As many other users, I want to "mess around" with the overlib-effects a little. I need to be able to display a total and max of characters of 1500 per image description for an internal community project. As far as I noticed, all overlib-transparent "tool tips" seem to have the same "window-width". When I set the overlib-transparent "window-width" to the standard 500px, a text of more than 1000 characters is not displayed. When I set it up to 1000 or more (or only 750) the width of the overlib-box is still not changing but the text is displayed, but in a such way, that the box is getting awfully long so that the user would have to scroll down to read the overlib-transparent-text-window. By doing this, you often lose focus on the picture so that the overlib-description-text is vanishing.

I would like to know, how exactly I can set the height and width of the overlib effect, so that the box is rather big in width than in (actual) height.

Thank you so much for suggestions in advance!
Granseigneur
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Overlib width and settings around it

Post by Jan »

Hi, such changes need to be customized in the php code...

the code fo overlib you find in phoca gallery here:
D:\www\J158\components\com_phocagallery\views\category\tmpl\default.php

the overlib is a part of Joomla! framework so you find the overlib library here:
includes/js/ folder...

Jan
If you find Phoca extensions useful, please support the project
Grandseigneur
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 14 Nov 2008, 20:00

Re: Overlib width and settings around it

Post by Grandseigneur »

Hi - thanks for the swift answer. Unfortunately, I was not able to find code to be changed within the phoca-code. I modified the js directly to have a wider "window". Though this is not the best way to do this (I would much rather have had a way to give phoca the command to change the width of the overlib ...) it works okay.

Is there any chance, you may include such a feature in the near future? Please consider this an official request :))

Regards from Cologne, Germany
Grandseigneur
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Overlib width and settings around it

Post by Jan »

I have added it into a feature request list...

Jan
If you find Phoca extensions useful, please support the project
Grandseigneur
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 14 Nov 2008, 20:00

Re: Overlib width and settings around it

Post by Grandseigneur »

Hi Jan!

Thanks for your help! :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Overlib width and settings around it

Post by Jan »

ok
If you find Phoca extensions useful, please support the project
abhijack
Phoca Member
Phoca Member
Posts: 20
Joined: 19 Dec 2009, 20:48

Re: Overlib width and settings around it

Post by abhijack »

Hi Jan,

I am using Phoca gallery v2.6.1.

- Does it have a feature to change the width and height of the overlib box?

I needed to increase the width and decrease the height of overlib..
abhijack
Phoca Member
Phoca Member
Posts: 20
Joined: 19 Dec 2009, 20:48

Re: Overlib width and settings around it

Post by abhijack »

Hi,

I managed to change the width by editing the overlib_mini.js file in the js folder.. [ol_width="350"]..

Somehow i was not able to change the height of the description boxes in overlib?

Plz help...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Overlib width and settings around it

Post by Jan »

Hi, I don't know the overlib_mini.js so not sure if there is such option :-(
If you find Phoca extensions useful, please support the project
Post Reply