× Requests and support related to jBackend.

Image full URL

  • jjnxpct
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #3092 by jjnxpct
Image full URL was created by jjnxpct
Hi! Just starting to use the jBackend component to get data from a Joomla website in to a mobile app.

When I want to show a list of articles I do get all the info, but the images in the content I get have a relative URL. I noticed there was an option in the plugin to set this to full domain, and this is set to 'yes'. But no full Url's in the json file. Am I missing something? I use a menu item as end-point. In the menu item there is no such setting. Correct?

Maybe this is relvant: I use the JCE editor on the Joomla website. In the database the image URL's are stored relative.

Ho do I get the full image URL in the content field?

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #3094 by admin
Replied by admin on topic Image full URL
Hi,
infact it should work as you expect... which version of Joomla are you using? Can you send me an email at info(at)selfget.com with the endpoint URL?

Thanks,
Luigi

Please Log in or Create an account to join the conversation.

  • jjnxpct
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #3097 by jjnxpct

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #3104 by admin
Replied by admin on topic Image full URL
Hi,
I see that all your articles have empty media info:
"images": {
                "image_intro": "",
                "float_intro": "",
                "image_intro_alt": "",
                "image_intro_caption": "",
                "image_fulltext": "",
                "float_fulltext": "",
                "image_fulltext_alt": "",
                "image_fulltext_caption": ""
            },

That usually are used to attach images to content (and here the option works). So probably you were talking about images embedded in the html code. These content is provided as-is to the client, but it could be a good idea to provide an option for this too.

Meanwhile, it is not so difficult to set a base path on client or to replace all href using JS. Let me know...

Please Log in or Create an account to join the conversation.

  • jjnxpct
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #3105 by jjnxpct
Replied by jjnxpct on topic Image full URL
Thanks for our reply. And yes, I was talking about images in the content ;-)

I think it would be a nice extra feature to be able to get these URL in the json with the full URL.

In the mean time any help on setting a base path or creating a js search/replace would be very much appreciated...

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #3114 by admin
Replied by admin on topic Image full URL
It's faster for you if I add this option in the content plugin... :)

I'm adding this feature just now so, please, send me an email at info(at)selfget.com and I will send you back the updated version of the content plugin.

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds