Hi,
gibt es eine Möglichkeit die Bildnamen oder alternativ den Category-Name (ohne ID) als Wert(e) für das ALT-Attribut bei den Thumbs die in der Categories-View im masonry-Modus genutzt werden einzusetzen?
Derzeit wird das ALT-Attribut nicht gesetzt und ich habe keine Möglichkeit gefunden, dies einzustellen.
Beispiel:
Quelle: https://www.phoca.cz/joomla3demo/
Regards
KarEm
ALT-Attribute
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: ALT-Attribute
Hallo KarEm,
hmm. Bei der Quelle, das ist ja Category Übersicht. Wenn Du zu Cities gehst, sehe ich z.B.:
Probier hier mal: https://www.reisefotografien.eu/phoca-b ... 5-optionen bei Allgemeine Einstellungen.
Liebe Grüße
Christine
hmm. Bei der Quelle, das ist ja Category Übersicht. Wenn Du zu Cities gehst, sehe ich z.B.:
Code: Select all
<img src="/joomla3demo/images/phocagallery/Cities/thumbs/phoca_thumb_m_Amsterdam.jpg" alt="Amsterdam" class="pg-image img img-responsive" itemprop="thumbnail">Liebe Grüße
Christine
- KarEm
- Phoca Professional

- Posts: 154
- Joined: 20 Dec 2015, 21:25
Re: ALT-Attribute
Hi Christine,
danke für's Ansehen.
Bei Einzelbilder in der Category View und auch bei der Übergabe / Aufruf der Detail-View (hier Highslide JS (nur Bilder)) wird offensichtlich das ALT-Attribut belegt. Meine Frage bezog sich auf die masonry-Darstellung, also wenn mehrere Bilder für die jeweilige Category-View in einer Box zusammengesetzt werden (wie z.B. bei Cities).
Mit der Option ALT hatte ich schon experimentiert, jedoch ohne Erfolg.
Regards
KarEm
P.S. Ist es irgendwie möglich per Copy&Paste einen Screenshot hier reinzukopieren?
danke für's Ansehen.
Bei Einzelbilder in der Category View und auch bei der Übergabe / Aufruf der Detail-View (hier Highslide JS (nur Bilder)) wird offensichtlich das ALT-Attribut belegt. Meine Frage bezog sich auf die masonry-Darstellung, also wenn mehrere Bilder für die jeweilige Category-View in einer Box zusammengesetzt werden (wie z.B. bei Cities).
Mit der Option ALT hatte ich schon experimentiert, jedoch ohne Erfolg.
Regards
KarEm
P.S. Ist es irgendwie möglich per Copy&Paste einen Screenshot hier reinzukopieren?
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: ALT-Attribute
Hallo KarEm,
Bilder raufladen kannst Du damit machen: https://www.phoca.cz/documents/50-phoca ... forum-post
ich glaube aber, ich weiß was Du meinst, deswegen hier ein Bild
Also von der Masonry-Darstellung, wenn man drüber hovert:

glaube nicht, dass das dort geht, eben weil diese in einer Box sind, wie Du schreibst. Da werde ich Jan fragen.
Für heute: Gute Nacht,
Christine
Bilder raufladen kannst Du damit machen: https://www.phoca.cz/documents/50-phoca ... forum-post
ich glaube aber, ich weiß was Du meinst, deswegen hier ein Bild

glaube nicht, dass das dort geht, eben weil diese in einer Box sind, wie Du schreibst. Da werde ich Jan fragen.
Für heute: Gute Nacht,
Christine
- KarEm
- Phoca Professional

- Posts: 154
- Joined: 20 Dec 2015, 21:25
Re: ALT-Attribute
Hi Christine,
besten Dank für die späte Antwort.
Ich habe auch nichts gegen eine individuelle Code-Anpassung.
Regards
KarEm
besten Dank für die späte Antwort.
Ich habe auch nichts gegen eine individuelle Code-Anpassung.
Regards
KarEm
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: ALT-Attribute
Hallo, kannst du den Screenshot hier eingeben, ich verstehe genau nicht, wo es darstellen soll?
Jan
Jan
If you find Phoca extensions useful, please support the project
- KarEm
- Phoca Professional

- Posts: 154
- Joined: 20 Dec 2015, 21:25
Re: ALT-Attribute
Hi Jan,
thanks for responding.
Let's take an example from your demo page: https://www.phoca.cz/joomla3demo/

As in this example, I also use the masonry effect in the Categories view.
If you look at the code, you notice that the ALT attribute is not set (marked with the red rectangles).
My question is, is there a possibility to set the image names or alternatively the category name (without ID), in this case "Cities" as value (s) for the ALT attribute?

Regards
KarEm
thanks for responding.
Let's take an example from your demo page: https://www.phoca.cz/joomla3demo/

As in this example, I also use the masonry effect in the Categories view.
If you look at the code, you notice that the ALT attribute is not set (marked with the red rectangles).
My question is, is there a possibility to set the image names or alternatively the category name (without ID), in this case "Cities" as value (s) for the ALT attribute?

Regards
KarEm
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: ALT-Attribute
Hi, now I undestand, I was confused, because in "categories view" there is no "masonry" effect but "mosaic" effect
(masonry - this effect is done by javascript library callled masonry and the javascript just order the images
mosaic - this effect is only done per html/css so there are five images displayed in one box)
Yes, there is no such option yet, but I have modified the fields, please test:
1) Download this file: https://www.phoca.cz/forumfiles/imagefront.zip
2) Unzip it to folder: administrator\components\com_phocagallery\libraries\phocagallery\image so the imagefront.php file will be overwritten
(backup the file: administrator\components\com_phocagallery\libraries\phocagallery\image\imagefront.php first)
3) Now you should be able to display values set by Alt Value parameter (title, or description or metadescription)
Please let me know, so I can add it to next version.
Jan
(masonry - this effect is done by javascript library callled masonry and the javascript just order the images
mosaic - this effect is only done per html/css so there are five images displayed in one box)
Yes, there is no such option yet, but I have modified the fields, please test:
1) Download this file: https://www.phoca.cz/forumfiles/imagefront.zip
2) Unzip it to folder: administrator\components\com_phocagallery\libraries\phocagallery\image so the imagefront.php file will be overwritten
(backup the file: administrator\components\com_phocagallery\libraries\phocagallery\image\imagefront.php first)
3) Now you should be able to display values set by Alt Value parameter (title, or description or metadescription)
Please let me know, so I can add it to next version.
Jan
If you find Phoca extensions useful, please support the project
- KarEm
- Phoca Professional

- Posts: 154
- Joined: 20 Dec 2015, 21:25
Re: ALT-Attribute
Hi Jan,
thanks again.
mosaic, masonry, sorry I mixed it up.
I will do what you have suggested and let you know afterwards.
Regards
KarEm
thanks again.
mosaic, masonry, sorry I mixed it up.
I will do what you have suggested and let you know afterwards.
Regards
KarEm
- KarEm
- Phoca Professional

- Posts: 154
- Joined: 20 Dec 2015, 21:25
Re: ALT-Attribute
Hi Jan,
It works as desired.
Thank you for this quick and excellent support!!
Regards
KarEm
It works as desired.
Thank you for this quick and excellent support!!
Regards
KarEm