Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12356
Latest: how to logo design
New This Month: 7
New This Week: 0
New Today: 0
Stats
Total Posts: 40076
Total Topics: 7055
Most Online Today: 30
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 20
Total: 20

Author Topic: image size problem  (Read 14693 times)

0 Members and 1 Guest are viewing this topic.

Offline cb49747

  • Newbie
  • *
  • Posts: 4
    • View Profile
image size problem
« on: December 09, 2006, 01:15:27 pm »
I like this gallery, simple and easy to use good job.

I do have one question though.

I have upload some rather large images from my digital camera, which work fine after I set the max file width and height to 0.  and left the file size at 5mb.  The thumbnail shows fine, but when I look at the full image it is extremly large and hard to view.  I do not want to resize before uploading the image, and was hoping this would resize the image for me.  am I missing something or is there some way to resize the full image after upload to a max size like 800 width?


Offline cb49747

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: image size problem
« Reply #1 on: December 09, 2006, 01:23:07 pm »
I went a reset the image width and height to 800 X 800 and then click the box the resize if image is two large, and this seemed to work except the resized image is a very bad negative looking image. ?

So I guess it resized it the way I wanted it to, except it messed up the image durring the resize.

Has anyone had this problem? I did see this post, http://www.smfhacks.com/index.php?topic=222.0
but I'm not getting an error.  It does the resize but the image ends up with funky colors.
« Last Edit: December 09, 2006, 01:26:22 pm by cb49747 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: image size problem
« Reply #2 on: December 09, 2006, 02:55:03 pm »
Currently for the thumbnails. I am assuming you are running SMF 1.1 RC3 or higher is using SMF's built in image resizing function.

Are both images appearing bad? Ie the thumbnail and resizied full image?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline cb49747

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: image size problem
« Reply #3 on: December 09, 2006, 03:21:00 pm »
yes, they are both bad.  When I didn't have it resize pictures that were two big it created the thumbnail file perfectly, it was when I told it to resize images that were two big, that the thumbnail and resized image apear like a negative.


I have also given guest members the ability to view the gallery, so you can check it out.  http://www.burgerfamily.net/forum

I'm also running 1.1 the newest version

« Last Edit: December 09, 2006, 03:25:06 pm by cb49747 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: image size problem
« Reply #4 on: December 09, 2006, 03:35:09 pm »
Hmm, I am going to try later tonight coming up with a new resizing function and I will use the pictures on your forum for a test.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: image size problem
« Reply #5 on: December 09, 2006, 03:40:45 pm »
One more thing can you go to your Support And Credits in your admin section and tell me what the "GD version:" is
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline cb49747

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: image size problem
« Reply #6 on: December 09, 2006, 03:42:51 pm »
yep, here is what I got.

Version Information:
Forum version: SMF 1.1 (more detailed)
Current SMF version: SMF 1.1
PHP version: 4.4.4
MySQL version: 4.0.27-standard
Server version: Apache Webserver
GD version: bundled (2.0.28 compatible)

I appreciate all your help.

Also I tried to download the javascript file to do batchuploads from a local drive, but it was giving me some tcp connection error.  (could be me though)
« Last Edit: December 09, 2006, 03:46:10 pm by cb49747 »

Offline seelie

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: image size problem
« Reply #7 on: December 12, 2006, 09:15:42 am »
I'm having the exact same issue as cb49747.  No resize produces nice thumbs and pics.  Resize produces negative-colored thumbs and pics.

Here is the GD Info:

Forum version: SMF 1.1 RC3 (more detailed)
Current SMF version: SMF 1.1
PHP version: 4.4.4
MySQL version: 5.0.24a-standard-log
Server version: Apache/1.3.37
GD version: bundled (2.0.28 compatible)

Offline nicks

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • kleistro
Re: image size problem
« Reply #8 on: December 13, 2006, 06:51:08 am »


Has anyone had this problem? I did see this post, http://www.smfhacks.com/index.php?topic=222.0
but I'm not getting an error.  It does the resize but the image ends up with funky colors.

yes it's me who posted this, actually there is no error as you say but this problem with color depth insists and for my gallery is serious (many user photo uploads), so I have no choice than switching back to coppermine which has no problem with my GD Version: bundled (2.0.28 compatible)... :-\
« Last Edit: December 13, 2006, 10:32:04 am by nicks »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: image size problem
« Reply #9 on: December 13, 2006, 10:36:28 am »
I have fix for this.

Redownload SMF Gallery Pro and Copy Gallery.php from the zip file to Sources Folder on your forum.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline nicks

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • kleistro
Re: image size problem
« Reply #10 on: December 13, 2006, 11:32:34 am »
That's it !
Also category editing for my gallery, fixed now.

If you pls take a look at the end of this (redirect after upload so you can continue uploading in same gallery) :

http://www.smfhacks.com/index.php?topic=124.msg1564#msg1564

roads are open to me... ;D

and pls.... switch off the need to add a picture name...
« Last Edit: December 13, 2006, 11:37:46 am by nicks »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: image size problem
« Reply #11 on: December 13, 2006, 11:48:41 am »
Put all feature requests in this thread
http://www.smfhacks.com/index.php?topic=306.0

So I do not forget to do them.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline seelie

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: image size problem
« Reply #12 on: December 15, 2006, 03:02:36 am »
I have fix for this.

Redownload SMF Gallery Pro and Copy Gallery.php from the zip file to Sources Folder on your forum.

Worked great!  Thanks :)

Offline teedem

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: image size problem
« Reply #13 on: December 28, 2006, 03:01:56 pm »
Hi,

I installed today the SMF Gallery Pro and i have a resizing problem.

My setup is pixelsize 600x600 and file size 160000 but after upload the file is still large more then 500000.

see below the credits.

Version Information:
Forum version: SMF 1.1.1 (more detailed)
Current SMF version: SMF 1.1.1
PHP version: 4.4.4
MySQL version: 4.1.21-standard
Server version: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
GD version: bundled (2.0.28 compatible)

what do i have to change to get this working, otherwise the webspace is shrinking to fast.

regards,
Dennis

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: image size problem
« Reply #14 on: December 28, 2006, 03:11:09 pm »
How are the files being uploaded? Though the normal add picture method?

Is there any error when a file is larger than the max filesize?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4123 Views
Last post June 18, 2007, 07:00:13 pm
by SMFHacks
3 Replies
4595 Views
Last post November 23, 2007, 11:30:42 pm
by dlomneck
2 Replies
4168 Views
Last post May 09, 2009, 10:58:39 am
by SMFHacks
2 Replies
2774 Views
Last post August 16, 2009, 12:57:37 am
by Vincent Volmer
9 Replies
4722 Views
Last post December 19, 2010, 12:01:09 am
by vkot

+- Recent Topics

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Cannot import by shawnb
March 02, 2020, 12:17:00 pm

Error message with latest SMF 2.1 Github build by Hatshepsut
March 01, 2020, 10:06:10 am

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Powered by EzPortal