Gallery Component: Button Icons gone

Phoca Gallery - image gallery extension
Spartacus
Phoca Member
Phoca Member
Posts: 12
Joined: 25 Jan 2010, 10:06

Gallery Component: Button Icons gone

Post by Spartacus »

Hi Jan,

yesterday, the small Icons for the Buttons in the category view and the modal box are not displayed anymore.
instead, there are the alternative texts:
Cooliris, Bild vergrößern, Bild herunterladen, Löschen, Unveräffentlichen, Authorisiert
and in the modal box:
Vorheriges Bild, Diashow anhalten, Diashow starten, Aktualisieren, Dieses Fenster schließen, Nächstes Bild.

What did I do wrong and where can I correct this to get the icons back?

Thanks

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

Re: Gallery Component: Button Icons gone

Post by Jan »

Hi, check your paths, urls, check if you have permissions or ownership to read the images (your scripts) or if the images are accessible on your server, or if the images are there.

Jan
If you find Phoca extensions useful, please support the project
Spartacus
Phoca Member
Phoca Member
Posts: 12
Joined: 25 Jan 2010, 10:06

Re: Gallery Component: Button Icons gone

Post by Spartacus »

Hi Jan,

sorry, I was ill the last days.

Could the path problem have something to do with my update to 2.6.2?
If so, which path do I have to correct to which value?

Spartacus
Spartacus
Phoca Member
Phoca Member
Posts: 12
Joined: 25 Jan 2010, 10:06

Re: Gallery Component: Button Icons gone

Post by Spartacus »

Hi Jan,

I found somthing strange:

The generated source code for the page links to jpg-icons (like /.../components/com_phocagallery/assets/images/icon-download.jpg), but there are only png and gif-type icons there.

So what to correct? And where exactly? Somewhere in the page generation for the gallery?

Spartacus
Spartacus
Phoca Member
Phoca Member
Posts: 12
Joined: 25 Jan 2010, 10:06

Re: Gallery Component: Button Icons gone

Post by Spartacus »

Hi Jan,

I partially solved the problem. I found the "icon format" set to jpg and switched it to "png" in the general gallery settings. So that's it for the icon display.

But there's one thing left: Instead of the "unpublish" icon, the icon link is set to the "publish" icon (although the unpublish function is called correctly).
I didn't find a setting for this.

Can you help me there?

Best regards

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

Re: Gallery Component: Button Icons gone

Post by Jan »

Hi, check the icons if there are ok (there should be ok - if the icon unpublish is really the icon unpublish and publish the icon publish)

Jan
If you find Phoca extensions useful, please support the project
Spartacus
Phoca Member
Phoca Member
Posts: 12
Joined: 25 Jan 2010, 10:06

Re: Gallery Component: Button Icons gone

Post by Spartacus »

Hi Jan,

the icons are ok. But the link is not:

<img src=".../.../components/com_phocagallery/assets/images/icon-publish.png" alt="Unveröffentlichen" />

If i edit the source (with the Webdeveloper Toolbar within Firefox) to "icon-unpublish.png", everything looks fine.
So it seems that the category view generates wrong source code.

Spartacus
Spartacus
Phoca Member
Phoca Member
Posts: 12
Joined: 25 Jan 2010, 10:06

Re: Gallery Component: Button Icons gone

Post by Spartacus »

Sorry Jan,

NOW I understand ;-)

The icon is green, because the picture is published, and clicking on it makes the icon red marking it unpublished.

So consider my problem solved due to learning.

Sorry for this misunderstanding.

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

Re: Gallery Component: Button Icons gone

Post by Jan »

Great to hear it (yes it is a little bit confusing but there is no other way :-( )

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