[Solved]: No Thumbnail View for Photoshop files [Solved]: No Thumbnail View for Photoshop files
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: No Thumbnail View for Photoshop files

Started by nikken, June 10, 2008, 08:36:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nikken

Hello,
We are using copermine in our intranet and we have the following problems. We using copermine with imagemagick and we have .psd File supportet while using the filetype plugin.
but after the upload completet, we can't see thumbnail or the picture itself, i just shows us the file name.

Hopefully someone could help us

Thankyou

Nibbler

Your browser probably does not support viewing .psd files.

nikken

Unfortunatly no.
If I upload the .psd File it already dosent't show me the preview pic. If i'm going to download the preview pic over the link, and save it to my local harddisk the picture will also not open under irwanview. Before the upload it works.
Maybe the imagemagick or copermine must be configured somehow, to convert the .psd files in the right way?

Stramm


nikken

Hi Stramm,

thanks for the information, but the thread is from 2002 are you shure that this problem still exists.
I searched in other forums of IM but didn't find something.

Maybe someone of you knows a better solution for showing .psd files in a galery.

We are searching olny for a picture galery where our marketing department can upload .psd picture files for our company

Best Thanks

Hein Traag


nikken

Thanks for the tipp, but I read there already and unfortunately it doesn't help me,

I already have the .psd support in the database, here is the part from the plugin:
   
   Extension    MIME type    Content type    Associated player    Edit
   asf    video/x-ms-asf    movie    Windows media player    
   asx    video/x-ms-asx    movie    Windows media player    
   avi    video/avi    movie    Windows media player    
   bmp    image/bmp    image    No player    
   doc    application/msword    document    No player    
   gif    image/gif    image    No player    
   gz    application/gz    document    No player    
   iff    image/iff    image    No player    
   jb2    image/jb2    image    No player    
   jp2    image/jp2    image    No player    
   jpc    image/jpc    image    No player    
   jpe    image/jpe    image    No player    
   jpeg    image/jpeg    image    No player    
   jpg    image/jpg    image    No player    
   jpx    image/jpx    image    No player    
   mdb    application/msaccess    document    No player    
   mid    audio/midi    audio    Windows media player    
   midi    audio/midi    audio    Windows media player    
   mov    video/quicktime    movie    Apple QuickTime    
   mp3    audio/mpeg3    audio    Windows media player    
   mpeg    video/mpeg    movie    Windows media player    
   mpg    video/mpeg    movie    Windows media player    
   ogg    audio/ogg    audio    No player    
   pdf    application/pdf    document    No player    
   png    image/png    image    No player    
   pps    application/powerpoint    document    No player    
   ppt    application/powerpoint    document    No player    
   psd    image/psd    image    No player    
   ra    audio/x-realaudio    document    RealMedia player    
   ram    audio/x-pn-realaudio    document    RealMedia player    
   rar    application/rar    document    No player    
   rm    audio/x-realmedia    document    RealMedia player    
   rtf    text/richtext    document    No player    
   swc    image/swc    image    No player    
   swf    application/x-shockwave-flash    movie    Flash player    
   tif    image/tif    document    No player    
   tiff    image/tiff    document    No player    
   txt    text/plain    document    No player    
   wav    audio/wav    audio    Windows media player    
   wma    audio/x-ms-wma    audio    Windows media player    
   wmv    video/x-ms-wmv    movie    Windows media player    
   xls    application/excel    document    No player    
   zip    application/zip    document    No player    

Also I'am using ImageMagick ...

I also tried different Browser (Firefox, IE) newest Version. But the pictures are note displayed.

I also checkt, the Problem with the layer, the last layer is transparent in the .psd, so if this is the reason, there should be at least a transparent image.
But the picture is simply not displaying, showing a red cross in the ie.

Are there any Log files, I could check (either in copermine or imagemagick)

Thanks


Hein Traag

Post a link to your gallery and preferably also a deeplink to a psd file.

nikken

Posting a link is a little bit dificult, because this gallery is only reachable over our intranet.
But we can give you remote access over netviewer, so you can work on one of our company computers, and take a look on our gallery,
if that is ok


nikken

In addition i'm including the debug log file from copermine, when i'm trying to upload the .psd file:

For me it looks like that copermine doesn't acceppt the change from GD to ImageMagick (there is still GD mentioned in the debug log)
Whe have set ImageMagic and the path to the convert util in the settings menu.

Must ImageMagic be configurated somewhere in the php.config or somewhere else?

Best Thanks



USER:
------------------
Array
(
    [ID] => d9e298bab74a6909997fb45c3a9167af
    [am] => 1
    [lang] => german
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => admin
    [groups] => Array
        (
           
  • => 1
            )

        [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] => 1
        [has_admin_access] => 1
        [pub_upl_need_approval] => 0
        [priv_upl_need_approval] => 0
        [group_name] => Administrators
        [upload_form_config] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
        [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `eurogallery`.cpg14x_sessions where time<1213619933 and remember=0; (0s)
        [3] => delete from `eurogallery`.cpg14x_sessions where time<1212413933; (0s)
        [4] => select user_id from `eurogallery`.cpg14x_sessions where session_id=md5("8703c347f4a95202cac7c75dcbcf2876ff943846b5da4abd1835901c21e869fc"); (0s)
        [5] => select user_id as id, user_password as password from `eurogallery`.cpg14x_users where user_id=2 (0s)
        [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 `eurogallery`.cpg14x_users AS u INNER JOIN `eurogallery`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0s)
        [7] => SELECT user_group_list FROM `eurogallery`.cpg14x_users AS u WHERE user_id='2' and user_group_list <> ''; (0s)
        [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 cpg14x_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
        [10] => update `eurogallery`.cpg14x_sessions set time='1213623533' where session_id=md5('8703c347f4a95202cac7c75dcbcf2876ff943846b5da4abd1835901c21e869fc'); (0s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 2 (0s)
        [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-06-16 13:38:53' (0s)
        [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='172.16.254.5' OR ip_addr='172.16.254.5' OR user_id=2) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
        [15] => SELECT aid, title FROM cpg14x_albums WHERE category='10002' ORDER BY title (0s)
        [16] => SELECT encoded_string FROM cpg14x_temp_data WHERE unique_ID = '46b55688' (0s)
        [17] => UPDATE cpg14x_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMzoiRUJfVFBPX1RHLnBzZCI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfNjc4NjY3NzQucHNkIjtzOjEyOiJwcmV2aWV3X3BhdGgiO3M6MzQ6Ii4vYWxidW1zL2VkaXQvcHJldmlld19hYzJkZjI5ZC5wc2QiO319' WHERE unique_ID = '46b55688' (0s)
        [18] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.001s)
        [19] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='13' AND cat.cid=alb.category (0s)
        [20] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='6' AND cat.cid=alb.category (0s)
        [21] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='3' AND cat.cid=alb.category (0s)
        [22] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='11' AND cat.cid=alb.category (0s)
        [23] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='17' AND cat.cid=alb.category (0s)
        [24] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='20' AND cat.cid=alb.category (0s)
        [25] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='7' AND cat.cid=alb.category (0s)
        [26] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='9' AND cat.cid=alb.category (0s)
        [27] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='27' AND cat.cid=alb.category (0s)
        [28] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='22' AND cat.cid=alb.category (0s)
        [29] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='16' AND cat.cid=alb.category (0s)
        [30] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='18' AND cat.cid=alb.category (0s)
        [31] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='15' AND cat.cid=alb.category (0s)
        [32] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0s)
        [33] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='21' AND cat.cid=alb.category (0s)
        [34] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='8' AND cat.cid=alb.category (0s)
        [35] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='2' AND cat.cid=alb.category (0s)
        [36] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='10' AND cat.cid=alb.category (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [unique_ID] => 46b55688
        [control] => phase_2
        [debugtext] => USER:
    ------------------
    Array
    (
        [ID] => d9e298bab74a6909997fb45c3a9167af
        [am] => 1
        [lang] => german
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 2
        [user_name] => admin
        [groups] => Array
            (
               
  • => 1
            )

        [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] => 1
        [has_admin_access] => 1
        [pub_upl_need_approval] => 0
        [priv_upl_need_approval] => 0
        [group_name] => Administrators
        [upload_form_config] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
        [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `eurogallery`.cpg14x_sessions where time<1213619922 and remember=0; (0s)
        [3] => delete from `eurogallery`.cpg14x_sessions where time<1212413922; (0s)
        [4] => select user_id from `eurogallery`.cpg14x_sessions where session_id=md5("8703c347f4a95202cac7c75dcbcf2876ff943846b5da4abd1835901c21e869fc"); (0s)
        [5] => select user_id as id, user_password as password from `eurogallery`.cpg14x_users where user_id=2 (0s)
        [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 `eurogallery`.cpg14x_users AS u INNER JOIN `eurogallery`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0s)
        [7] => SELECT user_group_list FROM `eurogallery`.cpg14x_users AS u WHERE user_id='2' and user_group_list <> ''; (0s)
        [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 cpg14x_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
        [10] => update `eurogallery`.cpg14x_sessions set time='1213623522' where session_id=md5('8703c347f4a95202cac7c75dcbcf2876ff943846b5da4abd1835901c21e869fc'); (0s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 2 (0s)
        [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-06-16 13:38:42' (0s)
        [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='172.16.254.5' OR ip_addr='172.16.254.5' OR user_id=2) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
        [15] => SELECT aid, title FROM cpg14x_albums WHERE category='10002' ORDER BY title (0s)
        [16] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.001s)
        [17] => SELECT unique_ID FROM cpg14x_temp_data (0s)
        [18] => INSERT INTO cpg14x_temp_data VALUES ('46b55688', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMzoiRUJfVFBPX1RHLnBzZCI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfNjc4NjY3NzQucHNkIjt9fQ==', '1213623522') (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [URI_array] => Array
            (
               
  • =>
                [1] =>
                [2] =>
            )

        [control] => phase_1
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.2 - OK
    ------------------
    mySQL version: 4.0.18
    ------------------
    Coppermine version: 1.4.16(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.15 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support: 1
    GIF Read Support: 1
    GIF Create Support:
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.18
    MYSQL_MODULE_TYPE none
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.1
    Linked Version 1.2.1
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/php/includes:/srv/www/htdocs:/srv/www/htdocs/PEAR/:/opt/qmmapit_root/PEAR | .:/php/includes:/srv/www/htdocs:/srv/www/htdocs/PEAR/:/opt/qmmapit_root/PEAR
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 300 | 300
    max_input_time | -1 | -1
    upload_max_filesize | 50M | 50M
    post_max_size | 50M | 50M
    ==========================
    Page generated in 0.27 seconds - 19 queries in 0.001 seconds - Album set : ; Meta set: ;
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.2 - OK
    ------------------
    mySQL version: 4.0.18
    ------------------
    Coppermine version: 1.4.16(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.15 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support: 1
    GIF Read Support: 1
    GIF Create Support:
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.18
    MYSQL_MODULE_TYPE none
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.1
    Linked Version 1.2.1
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/php/includes:/srv/www/htdocs:/srv/www/htdocs/PEAR/:/opt/qmmapit_root/PEAR | .:/php/includes:/srv/www/htdocs:/srv/www/htdocs/PEAR/:/opt/qmmapit_root/PEAR
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 300 | 300
    max_input_time | -1 | -1
    upload_max_filesize | 50M | 50M
    post_max_size | 50M | 50M
    ==========================
    Page generated in 2.737 seconds - 37 queries in 0.001 seconds - Album set : ; Meta set: ;

Nibbler


nikken

I want someone to tell me why we can not upload Photoshop Files in Copermine.

Hein Traag

Spotted this in your debug : Coppermine version: 1.4.16(stable)

Download 1.4.18 first and upgrade.

nikken

Ok, now i figured out the problem myself.

- After the update to Version 1.4.18 the 'convert' Utility of ImageMagick works, but....

- It doesn't support .psd Files with CMYK colors
- It doesn't support .psd Files with more than 20 or 24 layers

unfortunatly it doesn't fit our needs, because of the CMYK colors.

But thanks for all the help,