Headline/Name of photo outside

Phoca Gallery - image gallery extension
Bergrath
Phoca Member
Phoca Member
Posts: 39
Joined: 22 Feb 2016, 22:21

Headline/Name of photo outside

Post by Bergrath »

Hi,
I use the phoca plugin and need to have long Names of the pictures which I want to show. The name is shown outside of the box.
I tried a lot, but did not find the right solution to keep it in. Sorry, I`m not able to insert a picture or to link, site is not online. If you need one, I can send via email or something else.

What is the right thing to do? Can I do it within the module or do I have to do something with CSS (and what)
Thank you for help in advance
best regards
Frank
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Headline/Name of photo outside

Post by Jan »

Hi, if the name is too long, then there are only design solutions possible:

- e.g. to enlarge the image, so the name will fit it
- e.g. to decrease the font size, etc. :idea:

Jan
If you find Phoca extensions useful, please support the project
Bergrath
Phoca Member
Phoca Member
Posts: 39
Joined: 22 Feb 2016, 22:21

Re: Headline/Name of photo outside

Post by Bergrath »

thank you.

Hm, then i have to fade out the name completely.

No I have the following code for the plugin:

{phocagallery view=category|categoryid=302|limitstart=0|limitcount=0|imageshadow=none|detail=6|displayname=0|displaydetail=0|displaydownload=0|displaydescription=1|displayimgrating=0}

If I want to see the description (see above, display description =1) of the picture after clicking the thumb, what do I have to write there in? I tried a lot but I did not reach the goal.

And an completely other question:

I tried a lot with the pictures and now I want to delete all the categories and images in phoca to set it up "clean". Is there a possibility to reset the id numbers of categories and images (they should now beginn with 1 again)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Headline/Name of photo outside

Post by Jan »

Hi, the displaydescription parameter is used for popup (when you click on the image, then it is displayed in popup - the parameter needs to be set in plugin to count the height of popup window). There is no option to display description below the images in plugin, so this needs to be customized.

The only way to reset the autoincrement ID is to do in database - e.g. per phpMyAdmin


Jan
If you find Phoca extensions useful, please support the project
Bergrath
Phoca Member
Phoca Member
Posts: 39
Joined: 22 Feb 2016, 22:21

Re: Headline/Name of photo outside

Post by Bergrath »

Do you know which table and field?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Headline/Name of photo outside

Post by Jan »

Hi, "table and field" for which purpose?
- restoring autoincrement ID for images
- or customizing the plugin?
If you find Phoca extensions useful, please support the project
Bergrath
Phoca Member
Phoca Member
Posts: 39
Joined: 22 Feb 2016, 22:21

Re: Headline/Name of photo outside

Post by Bergrath »

restoring auto increment ID
Bergrath
Phoca Member
Phoca Member
Posts: 39
Joined: 22 Feb 2016, 22:21

Re: Headline/Name of photo outside

Post by Bergrath »

found it. thank you very much
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Headline/Name of photo outside

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply