close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

upload image quality not good

Thread begun 1/10/2012 1:56 am by bigup40389823 | Last modified 10/04/2013 9:56 am by Jason Byrnes | 2604 views | 6 replies |

bigup40389823

upload image quality not good

Is there anyway you can control image quality as my uploaded images are not great quality.

thankyou.

Sign in to reply to this post

Jason ByrnesWebAssist

in the upload file server behavior, If you select the Web Images Only option, then select the option to convert the image format to Jpeg, you can set the image quality.

Sign in to reply to this post

bigup40389823

I'll give that a go, cheers.

Sign in to reply to this post

Miguel

Hello im checking the file and the only place i find where to change the quality of the pictures been uploaded is:

$newFilePath = preg_replace( $fileExtensionRegExp, $uniqueFileNamePart, $imageFilePath).'.jpg';
$endExtension = 'jpg';
$imageQuality = intval($imageOptions[1]);

if($imageQuality > 100){
$imageQuality = 100;
}
if($imageQuality < 0 ){
$imageQuality = 0;
}

This for jpg for example but every time they come out if they have thier size modified they look terribly bad some times pixelated is that the only spot where to change the quality it seems like it like when you save on photoshop at 60% quality

Sign in to reply to this post

Jason ByrnesWebAssist

That is the code, yes.

in the file upload settings, when using Convert to JPG, there is a quality setting. Make sure quality is set to 100. see attached screen shot.

Sign in to reply to this post

Miguel

Im not getting that because i use keep existing format, i tested exporting in photoshop without optimization and then uploading, i uploaded the original file and then the one uploaded if you notice the red circles in the picture the original ones are perfect while the ones uploaded get kind of pixelated

Sign in to reply to this post

Jason ByrnesWebAssist

try changing:
$imageQuality = intval($imageOptions[1]);

to:
$imageQuality = intval(($imageOptions[1])?$imageOptions[1]:"100");

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...