|
|
| View previous topic :: View next topic |
| Author |
Message |
Asiaing
Joined: 01 Jan 1970 Posts: 11

 |
Posted: Tue Sep 04, 2007 12:06 am
Post subject: About thumbnail images.
|
|
|
News Portal is a valuable componet. It's wonderful.
I like the thumbnail images especially. Very nice.
Upgraded V.19 to V.24, one small problem:
The thumbnail images are not as wonderful as V19's.
Can you tell me how to solve the problem?
Please help. Thanks.
http://www.asiaing.com |
|
| Back to top |
|
 |
Vlade

Joined: 23 Aug 2007 Posts: 142 Location: Los Angeles, CA

 |
Posted: Tue Sep 04, 2007 12:11 am
Post subject:
|
|
|
Transparency will be fixed in next release. _________________ Vladimir
iJoomla Support |
|
| Back to top |
|
 |
Asiaing
Joined: 01 Jan 1970 Posts: 11

 |
Posted: Tue Sep 04, 2007 12:18 am
Post subject:
|
|
|
Transparency?
Thanks.
Waiting for the new version now. |
|
| Back to top |
|
 |
alin
Joined: 28 Feb 2007 Posts: 103

 |
Posted: Tue Sep 04, 2007 12:49 pm
Post subject:
|
|
|
Hi,
In this page:
news_portal.html.php
are 3 lines of code that control the quality:
if($ext == "jpg") $upload_th = imagejpeg($image_p, $mosConfig_absolute_path.'/images/stories/news_thumb/'. $name, 70);
if($ext == "gif") $upload_th = imagegif($image_p, $mosConfig_absolute_path.'/images/stories/news_thumb/'. $name, 70);
if($ext == "png") $upload_th = imagepng($image_p, $mosConfig_absolute_path.'/images/stories/news_thumb/'. $name, 7);
you can change the final number on each of them (so 70 to 100 and 7 to 9)
you will have:
if($ext == "jpg") $upload_th = imagejpeg($image_p, $mosConfig_absolute_path.'/images/stories/news_thumb/'. $name, 100);
if($ext == "gif") $upload_th = imagegif($image_p, $mosConfig_absolute_path.'/images/stories/news_thumb/'. $name, 100);
if($ext == "png") $upload_th = imagepng($image_p, $mosConfig_absolute_path.'/images/stories/news_thumb/'. $name, 9);
After you do these modifications you must delete/rename "news_thumb" folder (from images/stories/news_thumb) so new images to be created.
I hope this help.
Thanks,
Alin |
|
| Back to top |
|
 |
Asiaing
Joined: 01 Jan 1970 Posts: 11

 |
Posted: Wed Sep 05, 2007 1:46 pm
Post subject:
|
|
|
Thanks for your help.
news_portal.html.php had been changed.
70, 70, 7 to 100, 100, 9.
and news_thumb had been renamed.
But the problem is still here.
Maybe downgrade to V.19? _________________ Asiaing.com: Knowledge shared, power gained. |
|
| Back to top |
|
 |
alin
Joined: 28 Feb 2007 Posts: 103

 |
Posted: Wed Sep 05, 2007 2:00 pm
Post subject:
|
|
|
Please open a support ticket with website details so I can have a look.
Thanks,
Alin |
|
| Back to top |
|
 |
Asiaing
Joined: 01 Jan 1970 Posts: 11

 |
Posted: Wed Sep 05, 2007 2:37 pm
Post subject:
|
|
|
ticket done. _________________ Asiaing.com: Knowledge shared, power gained. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|
Shopping Cart
|