vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Uploading PDF (https://vborg.vbsupport.ru/showthread.php?t=189546)

dadoc 08-30-2008 08:42 AM

Uploading PDF
 
I was wanting upload a pdf file to my site as an attachment,
but when I try to do this I get the error message,

Thumbnail creation failed due to your image library not having support for this image type.

Is there a function I need to enable in order for this to work?

Opserty 08-30-2008 09:18 AM

AdminCP > Attachments > Attachment Manager > Find the pdf row and select Edit > Go > Display thumbnail for this type? > No > Update

Not sure why this is set to a default of "Yes", seems a bit silly especially when the description says it only applies to image files...

dadoc 08-31-2008 05:45 AM

I have tried that
and then I zipped the pdf and tried to upload it as a zip file ( I also made it Display no thumbnail)

This is what it says in the options

Quote:

Display thumbnail for this type?This only applies to image files of the extensions: bmp, gif, jpe, jpg, jpeg, png, psd, tif and tiff. The creation of a thumbnail for any image type is not guaranteed.
So I have both pdf. and zip. set as no although it says that This only applies to image files of the extensions:.

I still get this error message;

Quote:

stockton-casestudy.zip:
Thumbnail creation failed due to your image library not having support for this image type.

dadoc 09-01-2008 05:59 AM

Do I have to have my hosting site up my file size for pdf.

as I am able to upload pdf files but not large ones

Lynne 09-01-2008 02:15 PM

So you can now upload small pdf files but not larger ones? It may be a php setting that needs to be upped (in which case, yes, you should talk to your host).

dadoc 09-02-2008 08:14 AM

Should I be able to zip a pdf. file and add that zip file as an attachment
in order to get around large size pdf files?

Has anyone done this?

Opserty 09-02-2008 09:16 AM

Double check you're setting again. (Disable any modifications temporarily too).

It is trying to create a thumbnail by the look of it and you don't have the required PHP extensions for it, so it obviously failing. However disabling the thumbnail creation should have stopped the error.

Edit: I just tried this on my test board and even with the "Display thumbnail" set to yes I was still able to upload.

Lynne 09-02-2008 01:26 PM

Why don't' you list exactly what you put in all the fields for your pdf attachment type.

dadoc 09-03-2008 06:53 AM

Max Filesize; 4000000

Maximum Width; 0

Maximum Height; 0

Mime Type ; Content-type: application/pdf

Display thumbnail for this type?; yes

Open this attachment in a new browser window?; no

Enabled; yes

Thank you for your support Lynne and Opserty as I know how much you do for the site
You are both a great asset to vB.org

Lynne 09-03-2008 03:44 PM

Why do you continue to have Display thumbnail for this type set to Yes? I just tested that on my site and if I do that, I get the error you are talking about. If I set it to No, all is fine. I think you need to set that to No in order to continue trying to find your problem.


All times are GMT. The time now is 11:56 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01797 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete