portrait orientation causes PG to insert a 1 in the url of photo

Phoca Gallery - image gallery extension
phrontis
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Oct 2012, 21:05

portrait orientation causes PG to insert a 1 in the url of photo

Post by phrontis »

it is adding a 1 in the url see img. only happening to images that are portrait and not landscape. quickly searched forum didnt see anything. thanks.
https://imgur.com/a/ZTPW1a9
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: portrait orientation causes PG to insert a 1 in the url of photo

Post by Jan »

Hi, sorry, I don't understand what you mean? Phoca Gallery does not add any numbers to source name of the image :idea:

Jan
If you find Phoca extensions useful, please support the project
etcando
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Oct 2018, 11:42

Re: portrait orientation causes PG to insert a 1 in the url of photo

Post by etcando »

Hallo Forenmitglieder
ich habe mich heute neu angemeldet und möchte mich kurz vorstellen.
Ich betreue einige Webseiten die mit Joomla umgesetzt wurden und bis jetzt lief auch alles Bestens. heute bin ich nun auf ein Problem gestoßen für das ich keine Erklärung habe.

Jetzt sehe ich hier das phrontis das gleiche Problem hat, ich beschreibe meins hier auch noch einmal:

Wie schon geschrieben geht es um die Phoca Gallery. Hier habe ich nun eine Kategorie erstellt, Bilder hochgeladen und lasse mir die Katgorie über einen Link anzeigen.
Die 20 Vorschaubilder sind auch alle zu sehen (als Option ist Mauerwerk gewählt). Es gibt Hochformat und Querformat Bilder und nun kommt das Problem:

Wenn ich im Ordner Thumbs nachsehe sind alle Bilder erstellt worden. Die hochgeladenen Bilder heißen 01.jpg, 02.jpg, 03.jpg usw.
Die erstellten Vorschaubilder phoca_thumb_l_01.jpg usw.

Bin ich im Backend und klicke eines der Bilder an bekomme ich sie auch zu sehen, auf der Website ist jetzt aber folgendes:

handelt es sich um ein Hochformat wir als Link vom Vorschaubild zur Detailansicht jetzt aber der Name phoca_thumb_l1_01.jpg erzeugt obwohl er doch phoca_thumb_l_01.jpg heißen müsste.
Es wird eine 1 hinter das l gesetzt und nur bei Hochformatbildern habe ich dieses Phänomen.
christine
Phoca Hero
Phoca Hero
Posts: 2725
Joined: 28 Nov 2010, 17:20

Re: portrait orientation causes PG to insert a 1 in the url of photo

Post by christine »

Hi phrontis & etcando,

OK, this "phenomenon" :-) will be used when you are using Masonry Effekt (Mauerwerkeffekt). So, e.g. landscape 224x150 - portrait 224x300. It's just like a "sytem image calculation" for the different thumbnail height. If you temporarily remove (with inspector) the "1", you would see the thumbnail image landscape instead of portrait.

Kind regards
Christine
etcando
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Oct 2018, 11:42

Re: portrait orientation causes PG to insert a 1 in the url of photo

Post by etcando »

Hi Christine,
das heißt also man kann diesen Mauerwerkeffekt leider nicht verwenden weil dadurch der link zum Detailbild nicht mehr stimmt?
etcando
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Oct 2018, 11:42

Re: portrait orientation causes PG to insert a 1 in the url of photo

Post by etcando »

Hallo Christine, Problem gelöst - ich hatte bei der Miniaturbild Erstellung nur Mittlere und Kleine eingestellt - jetzt habe ich auf alle eingestellt und es funktioniert.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: portrait orientation causes PG to insert a 1 in the url of photo

Post by Jan »

Hallo, OK, etschuldige für die Verwirrung, ich habe die Frage schlecht kapiert. Danke Christine für die Erklarung.
(sorry for the confusing, I wrongly understood the question, thank you Christine for the clarification)

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