Color of images dulled on mobile - image-processing

On our site http://eatplaygear.com/gear/tops (Joomla, using Virtuemart for the eCommerce)
The desktop version shows the correct colors for the product images.
But somehow on mobile these images are dulled.
I have tried to web-inspect using a Mac and iPhone to see if maybe the src is pointing to another version of the image. But it isn't, the path is the same as the desktop.
Also tried searching there have been previous issues with Joomla Virtuemart, but to no avail.
Any idea what the issue is and how to solve it?
EDIT:
desktop not virtuemart - http://phorge.com.sg/images/desktop-non-virtuemart.jpg
mobile(android) not virtumart - http://phorge.com.sg/images/mobile-non-virtuemart.png
notice how the colors match
desktop virtuemart - http://phorge.com.sg/images/desktop-virtuemart.jpg
mobile(android) virtuemart - http://phorge.com.sg/images/mobile-virtuemart.png
notice how the images on mobile dull out?

OK upon doing some trial and errors. apparently it had to do with the color profile when exporting the image. just make sure to use Save for Web if using Adobe softwares and strip the color profile

Related

Appcelerator App Designer assets path issue and RGBA

I have an issue with Appcelerator App Designer.
I have an image path in assets like app/assets/iphone/images/MainBG.png
In xml i need to use path like /images/MainBG.png
But App Designer set path like /iphone/images/MainBG.png that does not work when i run my app... Yes, i can change this path, but after that i cant see image in App Designer view.
And second question:
App Designer cant use alpha... Yes, i can manualy set BGcolor like rgba(150,0,0,0.5) but in App Designer view i cant see result.
Can any one help me?
Sorry for my English))
Though I have not used App Designer, but following might help you:
put all your image files in app/assets/images folder
now set path in XML like image='/images/MainBG.png'
Set background color manually, you can use following combos:
you can use backgroundColor:"#fff"
also you can use backgroundColor:"#ffffff"
this one also works backgroundColor:"white"
this one works for alpha - backgroundColor:"#abcd", in this syntax, alpha will be 'aa' & r/g/b will be bb/cc/dd.
so this one will also work for alpha - backgroundColor:"#aabbccdd", 2 digits for each alpha/red/green/blue

Safari on iOS devices is loading corrupted images - Wordpress site

The images in question are JPEGs and I've gotten them down to a smaller size (30kb). The wordpress site in question is responsive and this issue on happens when I'm using mobile network to load the site. Wirelessly, it has no issues but on 3G/4G, images loaded randomly, some are corrupted, images swap places, so all css and js seems messed up. I'm using W3 cache to enhance the speed, but nothing is helping. Some images are half grey, black and look corrupted sometimes. This only happens on iOS devices with safari browser.
Anyone else faced the same issue? On desktop being wired, wireless, I've never had this issue.
Not sure if it has to do with with database or overall site performance of the server. Any help is greatly appreciated.
While supporting our WordPress Clients, I've faced such an issue dozens of times There are two general reasons for such a behavior:
You're using some CDN (Content Delivery Network) which you didn't mention in your question, and different CDN servers output different website cache version. If you're using CDN, try to purge your local plugin's cache, disable your local plugin and purge your CDN cache.
Sometimes images thumbnails may be corrupted, while they still exist. Try installing "Force Regenerate Thumbnails" plugin and regenerate all the thumbnails.
Though two above reasons are the most common, the issue itself may be connected with something else as well, for example, with some particular plugin. For this case it might be a good idea to temporarily deactivate your plugins one after another and see if the issue is resolved.
In case any of these won't help, it will require some debug work, so it could be a good idea to hire some WordPress developer for about an hour to fix this.
Good Luck!
If you have access to a mac + safari you can try remote debugging your iOS device. If you do this you could open the developer toolbar for the device so you can see if the information is actually being loaded. ie. if the messed up image is 300k on the desktop site, but the iOS device is loading a 30k image, you would know you're losing data somewhere.
I've not seen this specific issue, but I've had similar issues pop up due to bad CDN links, caching plugins, and lazy loading of images.
Another note to look for would be if your theme/template/plugins are using src sets. It could be possible that your normal version of the image is fine, but the images in the srcset for mobile are all messed up.
As noted above, completely disable w3 cache to troubleshoot that it's not the issue. Then take a look at the plugins.

img not found error on ipad but not on chrome or firefox

Our Magento site was working fine on desktop, ipad etc but recently we are getting a image error on iPads when we visit a product url
The error is:
Image not found: http:/???/media/catalog/product/cache/1/image/???/i/m/img_0111.gif
I've checked the caching folder on the cPanel & the image is their & we don't get this error on desktops or android phones.
Everything was working before but we added some new products & this started happening on the old & new products alike. I've made some small css changes lately regarding img sizes but I changed them all back & the error still occurred.
I have no idea what could be causing this so would really appreciate your help.
It sounds like permission error.Check your media folder for permitions. My suggestion try it with 777 to all folders and subfolders.If it works then you know it is permission problem.After you are sure change it to 755 again for all folders AND subfolders.If it breaks again you have to change the ownership of the folder.
Hope that make sense!
Turns out to be simple cause to this problem, the images uploaded to the site where GIFs over 1mb & the iPad could not download them for some reason, maybe they were too large or took too long to download.
Anyway it works fine now that we are uploading JPEGs under 200kb.

wkhtmltopdf/wicked_pdf : some external pictures are not displayed

I'm trying to export a page in my rails app to a pdf using wkhtmltopdf/wickedpdf (both the latest version, so is rails). However, external images from facebook (obviously with an absolute url) are not displayed : I got the classic empty box with a '?' when pictures are missing. The HTML version is just fine.
I tried with other pictures from other sources, and it worked as expected. Only fb pictures are causing troubles. However I absolutely need those.
Any ideas? Thanks for your time!
You should download the image into the app and use absolute path for image in pdf template, like
"#{RAILS_ROOT}/public/path-to-fb-image}"
Ok so it looks like I was using a bad version of wkhtmltopdf. Had to try several before getting to the right, this is the one that did the trick for me.
#Hoang's answer is another possible solution.

To launch/activate/run Chrome extension with a clickable webpage link?

I have always been using Safari but I pulled the plug on Safari completely a while ago, and the ability to do a lot of things with Chrome, makes me want to be able to do more.
Here is what I was wondering:
I have a lot of newly installed extensions and webapps.
I know there are extensions that can be used upon activation and other extensions that run in the background without the need for it to be activated by clicking a button of the extensions icon.
Is there a way to launch (activate) an extension in chrome with a link (URL) in a webpage. I mean is there a URL path to activating an extension.
Also,
I like the pinned tab feature, but it seems I can only do this: Pin a tab and for it to open just like that every time by adding current tabs to 'open these pages'. But if I pinned for eg. gmail.com and then I close it and later open it up again little later it won't pin it. Is using JSON with the 128 px icon and making your own web app the only way this can be achieved?
Thank you.
As far as I know: No.
What I got from reading through the Chrome-docs is, that websites can connect to activated extensions by using the Chrome API's method runtime.connect.
I know there are extensions [...] activated by clicking a button of the extensions icon
This doesn't seem to be a general feature of Chrome extensions. The Chrome-intern activation can be found at chrome://extensions/ in your browser. These settings can't be modified by websites. You may want to create a work-around by using a "second" activation-layer in your extension.
Websites can only ask the browser to install extensions by using the webstore API.
To your second question: This chrome-extension should allow you to automatically pin tabs specified by your url (haven't tried it for myself though). Maybe this can solve your problem.
I see this answer comes late but if anyone stumbles on this as I did, hopefully might find this useful. I can help you with the url of a Chrome Extension. Open the Web Inspector console and type this to get the url:
chrome.extension.getURL()

Resources