Jump to content

Archived

This topic is now archived and is closed to further replies.

caspersjan

Media not displayed on RTL page

Recommended Posts

caspersjan    13
caspersjan

Dear Pagelines team, I have set up a bilingual website, with a WPML language switcher. The result is that I have one set of LTR pages (for English) and one set of RTL pages (for Arabic). Everything works well, I can edit the page (the old problem with the Editor in RTL has been solved!), the text appears correctly. But images don't show up! I can upload them, enter them in a Media Box, but they don't appear on the page, no matter how often I save changes and refresh. You can see the result here: http://animatinglibraries.com/wordpress/?lang=ar. Inside of sections and plugins (Flyp from the Pagelines Store and Justified Image Grid, a gallery plugin) images are still shown. But through the usual Pagelines ways I cannot get them at all. Have you any idea what may be amiss? I am very grateful for your care!

Yours faithfully, Jan.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Could you enable debug for us please on your sites and we will be able to look into this. 

 

Apologies this topic seems to have gotten missed as you replied to it yourself. It's better to edit your own topics rather than reply. 

 

Also, When creating a topic you are asked for the following info which we need to help - please could you provide the following 

 

Remember to include as much information about your technical issue as possible for example:
Website URL:
Framework Version:
WordPress Version:
Plugins in Use:
Server/Host:
Screenshots:
Details:


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
caspersjan    13
caspersjan

Dear Martin, the thought of having confused things with my own reply also occurred to me and made me open a new topic. I'm glad to be in good hands now!

I am using DMS 2.1.1. and WordPress 3.9.1. and an assortment of plugins, mostly from the Pagelines store. But I already tried deactivating everything - including the Pagelines plugins - to no avail. 

I just set up DEBUG, it does indeed show up something though I'm not sure if it's relevant to the problem. You'll know better!

Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.) in /web/1/000/072/094/296115/htdocs/animatinglibraries/wordpress/wp-includes/functions.php on line 3245

I am away now for a few hours and will only be able to return to this myself tomorrow morning. In any case I am grateful that you are having a look at it and hope that it can be solved somehow soon! Yours faithfully, Jan.

Share this post


Link to post
Share on other sites
caspersjan    13
caspersjan

Plugins: 

BigTextDMS PL Section

Custom Post Type UI

DMS Professional Tools

Enhanced Options Editor

Filtering

Flyp PL SectionFormidable

Grid Shortcodes

Justified Image Grid

Meta Box

PageLines Updater

Scroll Nav DMS

Testimonials Lud DMS

TinyMCE Advanced

UpdraftPlus - Backup/Restore

WPML Multilingual CMS

Share this post


Link to post
Share on other sites
caspersjan    13
caspersjan

Hello again. I managed to resolve the issue that was flagged in Debug: "wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder." It turned out to be a known issue concerning an older version of WPML that struggled with a change in WP 3.9 regarding the handling of mysql queries. Now this is gone and Debug does not show anything, but there are still no images. I cannot upload new images (or rather, I can upload them, they register in the Editor but they don't show) and if I want to take an image from the Media Library, there are no items shown. Switching back to the LTR page, the Media Library works as usual and everything shows up. I hope you have an idea what might be going on... Yours faithfully, Jan.

Share this post


Link to post
Share on other sites
caspersjan    13
caspersjan

Just in case this might be relevant information: Here you can see the invisible images in action. During editing in Chrome, the images are replaced with a broken image icon - when not logged in these do not show). http://www.screencast.com/t/SrhbGZx4

 

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Could you create an admin logon for your site and send the credentials to hello @ pagelines dot com along with a link for this topic and we will look deep into this for you. 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
caspersjan    13
caspersjan

Hello Pageliners, I have not been able to find a solution. No images in RTL, unless they are inside a shortcode that's pasted into the Text and Embed HTML of a MediaBox. Did you have a chance to have a look at this, and can you make any sense of it? I look forward to hearing from you - I hope it will be possible to solve this - or better even that it's just me who is doing something wrong, though in spite of looking at everything thoroughly I cannot figure out what that would be at the moment. Yours faithfully, Jan.

Share this post


Link to post
Share on other sites
caspersjan    13
caspersjan

Dear Pagelines team, did you have any luck in this matter? I appreciate your efforts and hope that this can be solved somehow. Yours faithfully, Jan.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

The issue is as far as I can tell, the URL of the image isn't correct, as it is adding the lang=ar to the image path which you can see here.

 

http://animatinglibraries.com/wordpress/?lang=ar%2Fwp-content%2Fuploads%2F2014%2F06%2FTamerWebsiteTransparentfiller.png

 

I recommend you contact WPML support for assistance, as I don't think this is related to DMS.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
caspersjan    13
caspersjan
Dear Danny, thank you, this is very helpful indeed. I will contact WPML, now that I Knowledge what to ask for I hope they can sort this out. Tanks again, I will get back to you should there be new questions. Yours faithfully, Jan.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

No problem Jan and keep us posted.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      I have noticed that all thumbnails on www.michaelkummer.com are scaled down in CSS or HTML, rather than on the backend by Jetpack's Photon. See https://db.tt/vNJCn7Gh and https://db.tt/3ZpkHM7G. 
      Any idea why Pins sets the image width and height to something much larger than what's shown on the screen? Is there any way to fix this so that Photon can do a better job in rescaling the images on the backend before they are delivered to the browser?
      Thanks
      Michael 
    • sfmstudios
      By sfmstudios+
      I'm using the boxes section on a local development site to play around with some options, and running into an issue.  
      Have the following settings for the boxes:
      Type: Images/SVC Media on Top Image Appearance: Standard/Default Image/Icon Width: 280px Image Opacity: 100% Each of my box images is 280x150 in size, but the result of the image on the box is a strange zoomed-in, cropped square (see attached).  I looked to adjust border properties via CSS, but couldn't find a fix.  What solutions are out there?

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • ppotent
      By ppotent
      It seems that whenever media is set to be on the left, there is a problem with the way safari displays them. I used to have boxes with media on left when i was using DMS2, but since PL5, I've had to use only media on top. I know there are a few css suggestions that people have offered, but I'm wondering if such suggestions can't be built into the boxes code for PL5 rather than having to add extra CSS. Otherwise, am really liking PL5 over DMS2.

    • richardjacruz
      By richardjacruz+
      I received our monthly Alexa report, and it pointed out that there were missing alt tags on EVERY page on our site. Upon closer inspection, it looks like the QuickSlider which is used for the scrolling banners at the top of the site doesn't bring in the alt tags. Recently, you made a change to the RevSlider to allow images to have "alt" tags. Can you do that for the QuickSlider too?
      Thanks.
×