Page 1 of 2

Re: Thumbnail questions

Posted: 06 Jul 2008, 21:04
by Jan
1) yes, phoca gallery will create the thumbnail with the same dimensions as original image has
2) yes

see:
https://www.phoca.cz/phocagallery/user-manual/
https://www.phoca.cz/articles/joomla/com ... id-joomla/

Jan

Re: Thumbnail questions

Posted: 06 Jul 2008, 22:57
by Jan
Not sure which of the above "forces" Phoca to make the thumbnail the same size as the original
... there is no automatically creation of thumbnails which will have the same size as original... so if you know your images have e.g. 1024x768, you set the large thumbnail size to 1027x768

Here is described, where which thumbnail is used:
https://www.phoca.cz/phocagallery/user-m ... w-resizing
so if you want to have e.g. the thumbnail in detail view 1024x768 you set the large image width and height

On your site, you have created bigger thumbnails but you must change the parameters in parameters component (in menu link) too that the change will be displayed in front:
https://www.phoca.cz/articles/joomla/com ... id-joomla/

Jan

Re: Thumbnail questions

Posted: 18 May 2010, 22:21
by Dr. Flink
Hi,
I cant seem to change the thumbnail size. I have set the component parameters for the Phoca Menu Item to:

Image Size Beside Category Name: Medium
...
...
Medium Image Width: 199
Medium Image Height: 122

...but still, the sizes will be 100x100 px.

The documentation speeks about a global configuration. But I can't seem to find this Parameters button:
Components » Phoca Gallery » Control Panel » [Parameters] button.
This is how the params column in the database looks like for the gallery menu:
image=-1
image_align=left
show_pagination_categories=0
show_pagination_category=0
show_pagination_limit_categories=0
show_pagination_limit_category=0
display_cat_name_title=1
categories_columns=
equal_percentage_width=
display_image_categories=4
categories_box_width=
image_categories_size=1
categories_image_ordering=1
categories_display_avatar=0
display_subcategories=
display_empty_categories=
hide_categories=
display_access_category=
default_pagination_categories=
pagination_categories=
font_color=#135cae
background_color=
background_color_hover=
image_background_color=
image_background_shadow=shadow1
border_color=
border_color_hover=#135cae
margin_box=
padding_box=
display_name=0
display_icon_detail=0
display_icon_download=0
display_icon_folder=0
font_size_name=
char_length_name=
category_box_space=
display_categories_sub=
display_subcat_page=
display_category_icon_image=
category_image_ordering=1
display_back_button=1
display_categories_back_button=1
default_pagination_category=
pagination_category=
display_img_desc_box=
font_size_img_desc=
img_desc_box_height=
char_length_img_desc=
display_categories_cv=
display_subcat_page_cv=
display_category_icon_image_cv=
category_image_ordering_cv=1
display_back_button_cv=
display_categories_back_button_cv=
categories_columns_cv=
display_image_categories_cv=
image_categories_size_cv=
detail_window=3
detail_window_background_color=
modal_box_overlay_color=
modal_box_overlay_opacity=
modal_box_border_color=
modal_box_border_width=
sb_slideshow_delay=
sb_lang=
highslide_class=
highslide_opacity=
highslide_outline_type=
highslide_fullimg=
highslide_close_button=
highslide_slideshow=
jak_slideshow_delay=
jak_orientation=
jak_description=
jak_description_height=
display_description_detail=
display_title_description=
font_size_desc=
font_color_desc=
description_detail_height=
description_lightbox_font_size=
description_lightbox_font_color=
description_lightbox_bg_color=
slideshow_delay=
slideshow_pause=
slideshow_random=
detail_buttons=
phocagallery_width=
phocagallery_center=
category_ordering=1
image_ordering=
gallery_metadesc=
gallery_metakey=
alt_value=
enable_user_cp=
enable_upload_avatar=
enable_avatar_approve=
enable_usercat_approve=
enable_usersubcat_approve=
user_subcat_count=
max_create_cat_char=
enable_userimage_approve=
max_upload_char=
upload_maxsize=
upload_maxres_width=
upload_maxres_height=
user_images_max_size=
enable_java=
enable_java_admin=
java_resize_width=
java_resize_height=
java_box_width=
java_box_height=
display_rating=0
display_rating_img=0
display_comment=0
display_comment_img=0
comment_width=
max_comment_char=
external_comment_system=0
enable_piclens=0
start_piclens=
piclens_image=
switch_image=
switch_width=
switch_height=
enable_overlib=
ol_bg_color=
ol_fg_color=
ol_tf_color=
ol_cf_color=
overlib_overlay_opacity=
overlib_image_rate=
create_watermark=
watermark_position_x=
watermark_position_y=
display_icon_vm=
display_category_statistics=
display_main_cat_stat=
display_lastadded_cat_stat=
count_lastadded_cat_stat=
display_mostviewed_cat_stat=
count_mostviewed_cat_stat=
display_camera_info=0
exif_information=
display_categories_geotagging=
categories_lng=
categories_lat=
categories_zoom=
categories_map_width=
categories_map_height=
display_icon_geotagging=
display_category_geotagging=
category_map_width=
category_map_height=
pagination_thumbnail_creation=
clean_thumbnails=0
enable_thumb_creation=1
crop_thumbnail=
jpeg_quality=
enable_picasa_loading=
picasa_load_pagination=
icon_format=gif
large_image_width=199
large_image_height=122
medium_image_width=199
medium_image_height=122
small_image_width=199
small_image_height=122
front_modal_box_width=
front_modal_box_height=
admin_modal_box_width=
admin_modal_box_height=
folder_permissions=
jfile_thumbs=
page_title=Gallery
show_page_title=1
pageclass_sfx=
menu_image=-1
secure=0

I'm using:
Phoca Gallery Version: 2.7.0
PHP Version: 5.2.13


Please, can anyone help me with this?

Re: Thumbnail questions

Posted: 18 May 2010, 23:00
by Benno
Hi,
The documentation speeks about a global configuration. But I can't seem to find this Parameters button:
Image
Kind regards,
Benno

Re: Thumbnail questions

Posted: 19 May 2010, 12:19
by Dr. Flink
Hi Benno and thanks for your reply.

This button you show me is not displayed in my version. I have made two different installations (localy on Windows and Live on Unix), this makes me think it has to do with the Phoca version 2.7.0?
Image

Re: Thumbnail questions

Posted: 19 May 2010, 21:56
by Benno
Hi,
This button you show me is not displayed in my version. I have made two different installations (localy on Windows and Live on Unix), this makes me think it has to do with the Phoca version 2.7.0?
No, this has nothing to do with the version. All Phoca Gallery versions must have this button, because all global parameters are set here. I don`t know why you can´t see this button. Try to install Phoca Gallery once more. Did you mention the requirements
Requirements:

* Joomla!1.5.10 (stable or any later version)
* PHP 4.4.1 (or any later version) with GD library (graphics library for thumbnails creation).
If you have trouble during installation see https://www.phoca.cz/documents/2-phoca-g ... em-solving
Kind regards,
Benno

Re: Thumbnail questions

Posted: 20 May 2010, 11:59
by Dr. Flink
Benno wrote:...Try to install Phoca Gallery once more. Did you mention the requirements
Requirements:
* Joomla!1.5.10 (stable or any later version)
* PHP 4.4.1 (or any later version) with GD library (graphics library for thumbnails creation).
Yes, I have installed the gallery twice. Once localy (Windows) and once live (Unix) with the same result. During installation I didn't get any kind of error notifications.
I have also looked in the generated source code (from browser), and the parameter button isn't generated.

Version:
Joomla!: Joomla! 1.5.17 Stable [ Wojmamni ama woobusani ] 27-April-2010 04:00 GMT
PHP: 5.2.13

Am I the only one having this problem?

Edit:
Where in the db should the global parameters be stored? This is the Phoca tables I have:
  • jos_phocagallery
    jos_phocagallery_categories
    jos_phocagallery_comments
    jos_phocagallery_img_comments
    jos_phocagallery_img_votes
    jos_phocagallery_img_votes_statistics
    jos_phocagallery_user
    jos_phocagallery_votes
    jos_phocagallery_votes_statistics

Re: Thumbnail questions

Posted: 20 May 2010, 21:33
by Benno
Hi,
Where in the db should the global parameters be stored?
See viewtopic.php?f=1&t=8791
Am I the only one having this problem?
I´m not sure, but I see this mistake the first time and I have no idea what is wrong....:idea:
Kind regards,
Benno

Re: Thumbnail questions

Posted: 21 May 2010, 13:02
by Dr. Flink
Hi Benno,

I added to the params column:
  • medium_image_width=199
    medium_image_height=122
...and it worked fine, the thumbs are recreated with the correct size.

Is the Params-button "hard coded" or is it fetched from the database somehow? What is the url to the params view?

Thanks for your patience!

Re: Thumbnail questions

Posted: 21 May 2010, 13:33
by Benno
Hi,
I added to the params column:

medium_image_width=199
medium_image_height=122

...and it worked fine, the thumbs are recreated with the correct size.
Well done! :twisted:
Is the Params-button "hard coded" or is it fetched from the database somehow?
Sorry, I don´t know.
What is the url to the params view?
/administrator/index.php?option=com_config&controller=component&component=com_phocagallery&path=
Kind regards,
Benno