Announcement

Collapse
No announcement yet.

Thumbnailquestion

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Thumbnailquestion

    at the moment i set this option to value 800

    does that mean that every attached pic which is bigger then 800 pix width get reduced to 800?

    i don´t know the exactely syntax to set thumbail sizes....i tried a few ones....800...600...800x600 but no attached pic changed size AND yes i rebuild the Thumbnailoption in user cp....

    anyone can help?

  • #2
    A thumbnail is a little img, which, when clicked on, shows the full img.
    800 is 800pixels wide.
    The thumbnail will be rendered to 800 pixels.
    Which is no longer really a thumb :P

    You can best set this at 100 or 120 or 150

    Comment


    • #3
      hehe yes...not a real thumbnailsize


      i just recognized that my isp hast GD Version 1.6.x so i changed it in user cp......when i upload an image (jpg) an imagefile the following error message appears


      Warning: Unable to create '/Files/710d4eed5d8af8f2cdf355ea6576a67a': No such file or directory in /homepages/30/d22200574/htdocs/ubb/includes/functions_newpost.php on line 757
      Warning: Unable to move '/tmp/phpeQr1pH' to '/Files/710d4eed5d8af8f2cdf355ea6576a67a' in /homepages/30/d22200574/htdocs/ubb/includes/functions_newpost.php on line 757
      Warning: stat failed for /Files/710d4eed5d8af8f2cdf355ea6576a67a (errno=2 - No such file or directory) in /homepages/30/d22200574/htdocs/ubb/includes/functions_newpost.php on line 763
      The following errors occurred:
      The file you tried to attach is not an image. If you are trying to attach an image, please ensure it is valid. If you are not trying to attach an image, please use the file's correct extension.

      Comment


      • #4
        you've set your temporary directory in the admincp to /Files

        it should probably be /homepages/30/d22200574/files

        making sure there is a files folder chmod to 777 in your root folder.
        Scott MacVicar

        My Blog | Twitter

        Comment


        • #5
          Originally posted by Scott MacVicar
          you've set your temporary directory in the admincp to /Files

          it should probably be /homepages/30/d22200574/files

          making sure there is a files folder chmod to 777 in your root folder.

          sorry i didn´t get this...from where comes d22200574, can i just insert /ubb/Files?

          Comment


          • #6
            you have to include the path to your root folder.

            /ubb/Files implies that its in the root of the drive.

            your path according to that error would be
            /homepages/30/d22200574/htdocs/ubb/Files
            Scott MacVicar

            My Blog | Twitter

            Comment


            • #7
              but i don´t have a folder called homepages or d22xxxxx

              my Board is on url/ubb , inside ubb i created a folder named Files with chmod 777.

              In adminpanel its now /ubb/Files....IMO thats alright isn´t it


              Edit: with new path following Error comes


              Warning: fopen("/ubb/Files/8d22481dc1156894385b3c367d3895cf", "wb") - No such file or directory in /homepages/30/d22200574/htdocs/ubb/admincp/misc.php on line 540

              Comment


              • #8
                as you can see from the error message above it states the full path to the file

                /homepages/30/d22200574/htdocs/ubb/admincp/misc.php

                i presume when you login to ftp you only see / and not the full path.
                Scott MacVicar

                My Blog | Twitter

                Comment


                • #9
                  i changed to ur suggested path......when i upload a file now...it isn´t shown in the Files Folder but it has been attached.

                  when i try to update the thumbnailcounter

                  Database error in vBulletin 3.0.0 Beta 4:
                  Invalid SQL:
                  SELECT attachmentid, filedata, userid
                  FROM attachment
                  WHERE attachmentid >= AND
                  attachmentid < 25 AND
                  SUBSTRING_INDEX(filename, '.', -1) IN ('gif', 'jpg', 'jpeg', 'jpe', 'png')
                  ORDER BY attachmentid

                  mysql error: You have an error in your SQL syntax near 'AND
                  attachmentid < 25 AND
                  SUBSTRING_INDEX(filename, '.', -1) IN ('gif', 'j' at line 4
                  mysql error number: 1064
                  Date: Thursday 07th of August 2003 01:08:19 PM
                  Script: http://kuhmuhne.com/admincp/misc.php
                  Referer: http://kuhmuhne.com/admincp/misc.php?do=chooser
                  Username: Kahmoon
                  IP Address: 193.103.207.150

                  Comment


                  • #10
                    i tried to empty the attachements table...now it works....thumbnail is displayed...

                    Comment


                    • #11
                      It is not shown in the files folder because unless you have attachments as files (which I can infer from the above posts that you don't) it creates the attachment as a file, puts the file in the database, and then deletes it from the folder.

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...
                      X
                      😀
                      🥰
                      🤢
                      😎
                      😡
                      👍
                      👎