Find Jobs
Hire Freelancers

Add/Edit some Javascript to our WP Theme to Make Animated Gifs Play in WooCommerce

£5-10 GBP / hour

Cancelled
Posted over 8 years ago

£5-10 GBP / hour

Hey guys, We had a guy do some work for us last week to make animated gifs work on our WooCommerce product pages. Animated gifs work on WP, but only at their full size, and woo downscales product images to save space and bandwidth. I need a java guy who can write a piece of code that excludes the animated gifs from being downscaled and displays them at their full size (so that they animate). I have the code the guy used to achieve this with that you can use for reference if you wish. The product page is here. The bottom left hand photo is an animated gif, but has been downscaled so doesn't work. [login to view URL] Here is an example of the code he used to target a specific filesize and type to exclude from the downscalling. So your job is to make our gifs animate, whilst still ensuring our WooCommerce settings remain unchanged so that the other images that are not gifs can be downscaled. html = ''; $(response.main_images).each(function(){ var img = $(this).find('img'); [login to view URL]('class', 'attachment-shop_single wp-post-image'); html += '<div class=""><a data-fresco-group="product-gallery" data-fresco-options="fit: \'width\'" class="fresco zoom" href="' + $(this).attr('href') +'">' + [login to view URL](0).[login to view URL]('[login to view URL]', '.gif') + '<span class="product_image_zoom_button show-for-medium-up"><i class="fa fa-plus"></i></span></a></div>'; }); $('.featured_img_temp').hide(); $('.product_images').html('<div id="product-images-carousel" class="owl-carousel">' + html + '</div>'); ptr_init_swiper_and_carousel(); });
Project ID: 8420358

About the project

8 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
8 freelancers are bidding on average £8 GBP/hour for this job
User Avatar
A proposal has not yet been provided
£10 GBP in 5 days
5.0 (64 reviews)
6.6
6.6
User Avatar
Hi Sir/Ma'am, My name is Preeti, and I am Hiring Manager of our company. I am representing 5 star rated small agency with more than 50000 hours of experience in WordPress Development. I have read all your requirements and interested to attempt this project. Our team has an experience of approx. 7 years and has developed close to 200 Websites & Portals till date. We are efficient in creating fresh, clean, elegant & corporate designs for websites as well as themes using GUI, HTML5, CSS3, jQuery & Bootstrap. We work on responsive websites (Front-end & Back-end) and Mobile Applications (Android & IOS). In addition, we are an expert in PHP, Java, CakePHP, Laravel, ASP.NET, Zend, CMS, OOPS, Ajax, JavaScript, MySQL, WordPress, Joomla, Drupal, Magento, Prestashop, CRM & others. I have few questions regarding the project and would like to discuss them with you as per your convenience. Let me know how you would like to take the conversation ahead. Thanks, Preeti (SRSINFOSYSTEMS)
£7 GBP in 40 days
4.9 (13 reviews)
5.2
5.2
User Avatar
Hi , I am 4 year experienced full stack web developer. with expertise in javscript php and cms like wordpress.. I have gone through your requirement . i am pretty sure that i can do this in few hours . Max Hour 3. Let me know if we can discuss this further. Regards, Vishal
£10 GBP in 3 days
5.0 (2 reviews)
3.4
3.4
User Avatar
hello my friend. 5 developers with big experience is in your hands. we are here with our best. inbox me details
£8 GBP in 3 days
5.0 (1 review)
2.1
2.1
User Avatar
A proposal has not yet been provided
£7 GBP in 3 days
5.0 (5 reviews)
1.3
1.3

About the client

Flag of UNITED KINGDOM
PLYMOUTH, United Kingdom
4.9
113
Payment method verified
Member since Nov 28, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.