1
eagleone
MyReview uploaded pics are blurry
  • 2005/11/5 6:44

  • eagleone

  • Just popping in

  • Posts: 1

  • Since: 2005/11/5


MyReview uploaded pics are blurry

can someone help me with this.

here is the web address:http://s121480806.onlinehome.us/xoops/modules/myReviews/

Thanks in advance

2
Bender
Re: MyReview uploaded pics are blurry
  • 2005/11/6 16:21

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Check if MyReviews uses GD-library to create the images. If so since php version 4.3.2 it changed to version 2 of GD-Library and the preferred command for thumbnailcreation has changed to imagecreatetruecolor() instead of imagecreate().

If it still uses the old command it would explain the blurry.
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

3
gestroud
Re: MyReview uploaded pics are blurry
  • 2005/11/6 16:31

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


Looks to me like the pictures that you're uploading are smaller than your thumbnail size in myReviews. You should either upload larger pictures, or reduce your thumbnail setting.

4
ik2xnw
Re: MyReview uploaded pics are blurry
  • 2007/1/8 10:49

  • ik2xnw

  • Just popping in

  • Posts: 20

  • Since: 2006/5/3 9


Hi,
check compression level in module preference.
Bye!

5
ik2xnw
Re: MyReview uploaded pics are blurry
  • 2007/1/8 10:55

  • ik2xnw

  • Just popping in

  • Posts: 20

  • Since: 2006/5/3 9


Hi!
Check in /include/function.php for this:

/*
Function createthumb($name,$filename,$new_w,$new_h)
creates a resized image
variables:
$name Original Image Name
$root Root path up to the web directory (XOOPS_ROOT_PATH)
$path Path after root (/modules/wfsection/images/article/)
$savepath Path that appears after $path (thumbs/)
$new_w width of resized image
$new_h height of resized image
$quality Compression level (0-100)
*/
function reviews_createthumb($name,$root, $path, $savepath, $new_w=100, $new_h=100, $quality=80){


Bye!

6
ik2xnw
Re: MyReview uploaded pics are blurry
  • 2007/1/8 11:15

  • ik2xnw

  • Just popping in

  • Posts: 20

  • Since: 2006/5/3 9


Hi!
I had the same problem.
For my setup, was solved cutting out the following code in /include/function.php:
<code>
else
{
$tmp_img = @imagecreate($new_width, $new_height);
}
</code>

and in the same file, setting quality from 80(standard) to 100


Bye!

7
fly80
Re: MyReview uploaded pics are blurry
  • 2007/1/8 23:56

  • fly80

  • Just popping in

  • Posts: 2

  • Since: 2007/1/8 2


hello, I heavily hacked the module MyReviews fixing a lot of bugs and adding some new feature (and it works for all image sizes). If you want to see it working, you can see my site:http://www.librogame.com/modules/myReviews/ (it's in italian).

The package is 7 MB (I don't remember all the files that i changed from the original version), so if somebody wants it, maybe I can upload it elsewhere.

Bye!

8
fly80
Re: MyReview uploaded pics are blurry
  • 2007/1/13 17:54

  • fly80

  • Just popping in

  • Posts: 2

  • Since: 2007/1/8 2


I'm sorry, the package is not 7 MB (I had all my images inside ).

So the module used inhttp://www.librogame.com/modules/myReviews/ is 700 Kb and you can download it from:

http://www.librogame.com/uploads/myReviews2_21_ITA_byFly.zip

bye!

Login

Who's Online

215 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 215


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits