Resize of graphics

Knocky

New member
Hi everyone!

I'm new in here and also new to DADABIK ...

I ran over it while looking for an easy possibility to put a collection database online without giving common users the chance to change the data.

Within this database are graphics/pics per dataset which shall be displayed when selecting the data details ... that works quite fine, but:

I scanned these pics with 200 dpi (since I need that for different purpose), they get displayed (much) too large.
I don't want to re-sample all of those just to use them for the "common" display.
How can I get them only displayed with a max. of 300px in the width (for example)?

Greetz,
Knocky
 

Knocky

New member
Hi admin,

thanks for your quick answer!
I already ran a search and found the topic (and those topics they refer to).
But this is not what I mean. I don't want to create separate thumbnails.
I only would like to define that the max. with upon display.
Means:
<tr><td class="td_label_details"><b>Etikett</b></td><td class="td_value_details"><img src="etiketten/0001.jpg"></td></tr>

Modify to <tr><td class="td_label_details"><b>Etikett</b></td><td class="td_value_details"><img src="etiketten/0001.jpg" width="300" height="300"></td></tr>

Where can I find that in the code?
 

eugenio

Administrator
Staff member
Search <img src= in /include/business_logic.php
Please note that resizing a picture via HTML through the browser is not a good practice (pictures loose quality).
 

DebbieS

DaDaBIK Guru
... and a large graphic that is just sized down will still load the full size graphic file with the page - pages could get very heavy if many large graphics are displayed.
Creating a thumbnail OR using a static link with a graphic symbol linking to the full size image is a better way to go.
 
Top