Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Problem with images size with post and images in footer
New Landing › How can we help? › Themeforest Theme Support › Dante › Problem with images size with post and images in footer
- This topic has 23 replies, 5 voices, and was last updated 9 years by Swift Ideas – Ed.
-
Posted in: Dante
-
December 6, 2014 at 5:37 pm #133963
Hi,
I do not understand why all the pictures of the items in FR on the home page are the right size, and articles in EN in the home page, the pictures are of all sizes.
This is the same problem for the images in the footer, they are distorted in EN!
Can you help me find out why and how to recover the images properly?
Thank you.
EGDecember 8, 2014 at 1:16 am #134062Hi EG,
Can you try this solution? http://www.swiftideas.com/forums/topic/wpml-one-of-your-php-scripts/
Let us know,
Thanks,
laranz.December 8, 2014 at 1:15 pm #134248Hi,
Thank you, but I don’t see what file I must change?
Can you explain me?
Thank you.
EGDecember 8, 2014 at 3:40 pm #134334I will forward this to Mohammad for you
– Kyle
December 8, 2014 at 3:54 pm #134341Hi,
Please open to edit aq_resizer-1x.php at /dante/includes/plugins/ through FTP software.Find this code if(strpos( $url, home_url() ) === false) { Change to :- //you need to replace http://www.example.com/ with your website url if(strpos( $url, 'http://www.example.com/' ) === false) {
Thanks
MohammadDecember 9, 2014 at 9:22 am #134494Hi,
It doesn’t work!
When I integrated this code, my homepage FR didn’t work as my homepage EN. But I want to have a good size images in my homepage EN as my homepage FR!Have you understand?
Thank you.
EGDecember 9, 2014 at 9:47 am #134497Hi,
Please attach marked screenshot.
Thanks
MohammadDecember 9, 2014 at 9:59 am #134498Hi,
Yes, you have one with the good screen. And the second with the no good screen with the problem of images that I want to remove.
Thank you.
EGAttachments:
You must be logged in to view attached files.December 10, 2014 at 5:45 am #134698Hi,
Please use this custom css code:-.recent-post figure img { display: block !important; height: auto; position: relative; width: 100%; min-width: 262px; min-height: 197px; }
Thanks
MohammadDecember 10, 2014 at 9:19 am #134725Hi,
This code no change my problem.
I have change height: auto with height: 197px.
But, it doesn’t work.Thank you for your help.
EGDecember 10, 2014 at 9:31 am #134729Hi,
Please try out this custom css code and remove last one :-.recent-post figure img { min-width: 262px !important; min-height: 197px !important; }
Thanks
MohammadDecember 10, 2014 at 9:35 am #134730Hi,
It’s better but not yet fine.
EG
December 10, 2014 at 10:28 am #134738Hi,
Images are not resizing through WPML so please contact at WPML support once.
Thanks
MohammadDecember 28, 2014 at 5:21 pm #137990Hi,
To date, I have not found a solution. And I have not been helped by WPML.
EG
December 28, 2014 at 5:27 pm #137991Hi,
I do not understand why this is WPML to find the solution. For WPML does not touch the image is only a translation system! Why the two home pages can not be the same?
You did not ask my codes to see the admin of the site?Thank you for your reply.
EG -
Posted in: Dante
You must be logged in and have valid license to reply to this topic.