Problem with photo thumbnails

If you aren't speaking german, you can ask for support or post your request here.
Antworten
Schwartz
Beiträge: 112
Registriert: 26. Dez 2016, 15:19

Problem with photo thumbnails

Beitrag von Schwartz »

I have a problem when I want to show a photo via the URL.

I have some photos here : http://www.energifremtiden.dk/admidio/a ... p?pho_id=5

And a page here : http://www.energifremtiden.dk/c4d/metall.html

Here I have made the 5. record ( Wand Fenster ) to take its data from ADMIDIO. The Mitglied is taken from the download. this works fine.
The image ( 5. record ) is taken from the ADMIDIO-photo module. This also works fine - BUT - to show the image in the iframe in "full" size, requires that I set the thumbnails settings to a large size. And then it does not look good in the ADMIDIO photo.
If I set the thumbnails to 160, then it looks good in ADMIDIO photo, but then only the thumbnail size is shown in the iframe.
I myself set the thumbnail height to 40 px.

The "HTML" in the field in the base that holds the image looks like this :
<a href='http://www.energifremtiden.dk/admidio/a ... =9&thumb=1' target='bild1'><img src='http://www.energifremtiden.dk/admidio/a ... er:0;'></a>

How to specify that it should not be the thumbnail size, but the full size of the image ?????
By "full size" I mean the "truncated" - ( 600x400 or what size You specify ) image the file is uploaded to.

Has it something to do with the thumb=1 ? I have tried to remove this but then no image is shown.

Hope someone can help me with this.

Kind regards
Schwartz
Schwartz
Beiträge: 112
Registriert: 26. Dez 2016, 15:19

Re: Problem with photo thumbnails

Beitrag von Schwartz »

I have changed the data, so the links will not be useable any more.
I would still like, if someone could help me with an answer - if needed I will construct new data.

It is not an actual problem anymore. I have changed so I now use the weblinks to do the job. I am testing this at the moment and it seems to function. However I am in doubt if the system performs OK - we will see.

If someone will see what it is I want to achieve it is here : http://www.energifremtiden.dk/c4d/test%202.html

It is only a TEST at the moment. The images is shown for all. The weblinks image is shown as thumbnail and when clicking on the link beside the image the thumbnail is shown in "fullsize" in a frame beside.
If the weblink is clicked the original image ( big - and without watermarks of course ) can be downloaded.
The download can only take place if the material is in a "free" folder - else You have to be logged in as a member.
Benutzeravatar
fasse
Administrator
Beiträge: 6170
Registriert: 12. Nov 2005, 16:06

Re: Problem with photo thumbnails

Beitrag von fasse »

Hi Schwarz,

instead of using this url

Code: Alles auswählen

http://www.energifremtiden.dk/admidio/adm_program/modules/photos/photo_show.php?pho_id=5&photo_nr=9&thumb=1
use this

Code: Alles auswählen

http://www.energifremtiden.dk/admidio/adm_program/modules/photos/photo_show.php?pho_id=5&photo_nr=9
Than you will get the original photo. You can resize it with css or you can set additional parameters like this

Code: Alles auswählen

http://www.energifremtiden.dk/admidio/adm_program/modules/photos/photo_show.php?pho_id=5&photo_nr=9&max_width=xxx&max_height=xxx
But remember that with this parameters your server must convert every photo. CSS would be better for the server because the browser displays the photo in a smaler or bigger size.

Best regards
Fasse
Antworten