How to avoid displaying filename.

Phoca Gallery - image gallery extension
koed
Phoca Member
Phoca Member
Posts: 10
Joined: 09 Apr 2014, 14:56

Re: How to avoid displaying filename.

Post by koed »

Hi Jan
My images has the title filled with filename from Picasa.
If you try to clear that, it's replaced with "External Image", and that is shown in stead.

The ALT attrib ( Phoca Gallery options - General Settings - Alt Value ) is already set to "Description", And has always been so.
I have analysed with Firebug and found:
<div class="boxplus-caption ">
<div class="boxplus-title ">Festlige og farverige "blomster"</div>
<div class="boxplus-text ">External Image</div>

So if I can't suppress the "boxplus-text", I have to copy "Description" to "Title" on every single picture.
AND repeat that EVERY time I re-import. :x
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to avoid displaying filename.

Post by Jan »

So then I think, modification of picasa import should be customized, so the title will be not filled by filename :idea:

Jan
If you find Phoca extensions useful, please support the project
koed
Phoca Member
Phoca Member
Posts: 10
Joined: 09 Apr 2014, 14:56

Re: How to avoid displaying filename.

Post by koed »

Hi Jan
That's one way to do it, but then you have to allow "_blank" title-field as well.
As it is now, if you clear that, it's automatically filled with "External Image" on save.
I would prefer that the "boxplus-text" didn't show.
[ "<div class="boxplus-text ">External Image</div>"]

BR
Peder
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to avoid displaying filename.

Post by Jan »

Hi, I think, this code is added by javascript, so this needs to be set or modified directly in the boxplus javascript :idea:

Jan
If you find Phoca extensions useful, please support the project
koed
Phoca Member
Phoca Member
Posts: 10
Joined: 09 Apr 2014, 14:56

Re: How to avoid displaying filename.

Post by koed »

Hi Jan.
I found the spot, and comment the line out, so now i'm happy. :)
But I think it is misleading, when all options are set to "Description only".
Problem not solved, only circumvented.
But THNX anyway

BR.
Peder
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to avoid displaying filename.

Post by Jan »

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