Hi All
I have installed Coppermine and used GD2 compression. It worked like a bomb, but my work requires that it can upload High Quality photos and this GD2 could not handle. I searched arround and did changes to allow coppermine to accept these pictures. The situation is that it will allow a large picture but not a large high quality picture. These pictures is all for printing purpose and 1 JPG image runs sometimes 30 MB.
I thought that maybe GD2 does have a problem with the compression, so I installed ImageMagic.
Image magic is running in command line and also tels me that its using /usr/local/bin/ for my convert utility. I have set this in the configuration and "-antialias" under Command line options for ImageMagick
Im not sure what I am doing wrong as Coppermine returns a "0 uploads were successful."
Here is the debug code:
USER:
------------------
Array
(
[ID] => 4229aeaf636651c016be8333fccbfe33
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 2148
[1] => 2149
[2] => 2144
[3] => 2150
[4] => 2152
)
[search] => Array
(
[search] => 0001_G_055.jpg
[album] => search
[title] => on
[newer_than] =>
[caption] => on
[older_than] =>
[keywords] => on
[type] => AND
[filename] => on
[params] => Array
(
[title] => on
[caption] => on
[keywords] => on
[filename] => on
)
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 5
[user_name] => schalk
[groups] => Array
(
[0] => 2
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 3
[ufc_min] => 3
[custom_user_upload] => 0
[num_file_upload] => 5
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 0
[has_admin_access] => 0
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Registered
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 0
[group_id] => 2
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM nmgallery_filetypes; (0.001s)
[1] => select * from nmgallery_plugins order by priority asc; (0.001s)
[2] => delete from `nmgallery`.nmgallery_sessions where time<1161598538 and remember=0; (0.002s)
[3] => delete from `nmgallery`.nmgallery_sessions where time<1160392538; (0s)
[4] => select user_id from `nmgallery`.nmgallery_sessions where session_id=md5("e47eec212fda4117452407cef9a19a90349185d81898cfeb3b2d74360d2e6c78"); (0.001s)
[5] => select user_id as id, user_password as password from `nmgallery`.nmgallery_users where user_id=5 (0.001s)
[6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `nmgallery`.nmgallery_users AS u INNER JOIN `nmgallery`.nmgallery_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='5' (0.001s)
[7] => SELECT user_group_list FROM `nmgallery`.nmgallery_users AS u WHERE user_id='5' and user_group_list <> ''; (0.001s)
[8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM nmgallery_usergroups WHERE group_id in (2) (0.001s)
[9] => SELECT group_name FROM nmgallery_usergroups WHERE group_id= 2 (0.001s)
[10] => update `nmgallery`.nmgallery_sessions set time='1161602138' where session_id=md5('e47eec212fda4117452407cef9a19a90349185d81898cfeb3b2d74360d2e6c78'); (0.002s)
[11] => SELECT user_favpics FROM nmgallery_favpics WHERE user_id = 5 (0.001s)
[12] => DELETE FROM nmgallery_banned WHERE expiry < '2006-10-23 11:15:38' (0.001s)
[13] => SELECT * FROM nmgallery_banned WHERE (ip_addr='127.0.0.1' OR ip_addr='127.0.0.1' OR user_id=5) AND brute_force=0 (0.001s)
[14] => SELECT aid FROM nmgallery_albums WHERE visibility != '0' AND visibility !='10005' AND visibility NOT IN (2) (0.001s)
[15] => SELECT aid, title FROM nmgallery_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0.001s)
[16] => SELECT aid, title FROM nmgallery_albums WHERE category='10005' ORDER BY title (0.001s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[URI_array] => Array
(
[0] =>
[1] =>
[2] =>
)
[control] => phase_1
)
==========================
Page generated in 0.268 seconds - 17 queries in 0.018 seconds - Album set : ; Meta set: ;
Any suggestions will be of great help

I have installed Coppermine and used GD2 compression. It worked like a bomb, but my work requires that it can upload High Quality photos and this GD2 could not handle. I searched arround and did changes to allow coppermine to accept these pictures. The situation is that it will allow a large picture but not a large high quality picture. These pictures is all for printing purpose and 1 JPG image runs sometimes 30 MB.
I thought that maybe GD2 does have a problem with the compression, so I installed ImageMagic.
Image magic is running in command line and also tels me that its using /usr/local/bin/ for my convert utility. I have set this in the configuration and "-antialias" under Command line options for ImageMagick
Im not sure what I am doing wrong as Coppermine returns a "0 uploads were successful."
Here is the debug code:
USER:
------------------
Array
(
[ID] => 4229aeaf636651c016be8333fccbfe33
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 2148
[1] => 2149
[2] => 2144
[3] => 2150
[4] => 2152
)
[search] => Array
(
[search] => 0001_G_055.jpg
[album] => search
[title] => on
[newer_than] =>
[caption] => on
[older_than] =>
[keywords] => on
[type] => AND
[filename] => on
[params] => Array
(
[title] => on
[caption] => on
[keywords] => on
[filename] => on
)
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 5
[user_name] => schalk
[groups] => Array
(
[0] => 2
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 3
[ufc_min] => 3
[custom_user_upload] => 0
[num_file_upload] => 5
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 0
[has_admin_access] => 0
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Registered
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 0
[group_id] => 2
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM nmgallery_filetypes; (0.001s)
[1] => select * from nmgallery_plugins order by priority asc; (0.001s)
[2] => delete from `nmgallery`.nmgallery_sessions where time<1161598538 and remember=0; (0.002s)
[3] => delete from `nmgallery`.nmgallery_sessions where time<1160392538; (0s)
[4] => select user_id from `nmgallery`.nmgallery_sessions where session_id=md5("e47eec212fda4117452407cef9a19a90349185d81898cfeb3b2d74360d2e6c78"); (0.001s)
[5] => select user_id as id, user_password as password from `nmgallery`.nmgallery_users where user_id=5 (0.001s)
[6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `nmgallery`.nmgallery_users AS u INNER JOIN `nmgallery`.nmgallery_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='5' (0.001s)
[7] => SELECT user_group_list FROM `nmgallery`.nmgallery_users AS u WHERE user_id='5' and user_group_list <> ''; (0.001s)
[8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM nmgallery_usergroups WHERE group_id in (2) (0.001s)
[9] => SELECT group_name FROM nmgallery_usergroups WHERE group_id= 2 (0.001s)
[10] => update `nmgallery`.nmgallery_sessions set time='1161602138' where session_id=md5('e47eec212fda4117452407cef9a19a90349185d81898cfeb3b2d74360d2e6c78'); (0.002s)
[11] => SELECT user_favpics FROM nmgallery_favpics WHERE user_id = 5 (0.001s)
[12] => DELETE FROM nmgallery_banned WHERE expiry < '2006-10-23 11:15:38' (0.001s)
[13] => SELECT * FROM nmgallery_banned WHERE (ip_addr='127.0.0.1' OR ip_addr='127.0.0.1' OR user_id=5) AND brute_force=0 (0.001s)
[14] => SELECT aid FROM nmgallery_albums WHERE visibility != '0' AND visibility !='10005' AND visibility NOT IN (2) (0.001s)
[15] => SELECT aid, title FROM nmgallery_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0.001s)
[16] => SELECT aid, title FROM nmgallery_albums WHERE category='10005' ORDER BY title (0.001s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[URI_array] => Array
(
[0] =>
[1] =>
[2] =>
)
[control] => phase_1
)
==========================
Page generated in 0.268 seconds - 17 queries in 0.018 seconds - Album set : ; Meta set: ;
Any suggestions will be of great help
