Forum Support

Shape 5
March 28, 2024, 03:41:19 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Displaying images  (Read 726 times)
jennymac
Jr. Member
**
Offline Offline

Posts: 144



WWW
« on: August 20, 2014, 04:58:51 AM »

Hi Guys - love the new template. Well done.
I am trying to insert an image into the module 'Welcome' a custom module.
Initially I was just using Tiny MCE, but the image would not stay so I uploaded JCE (which is my usual editor) and still the image will not display. It is evident in the editor, but after I save it and look at the live site (where the image does not display) it is also missing in the editor.
In the source code there are some extra characters that I have never seen before: <p><img src="\&quot;images/powered_by.png\&quot;" alt="\&quot;powered" /></p>  (the unusual code is green - I hope!)
When I first inserted the image I checked the code and it was clean, but after saving the image was gone and the code was changed.
Hope this all makes sense.
Thanks
Blessings
Jenny
Logged

Jenny McWilliam
Girls' Brigade Victoria
Webmaster!
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: August 20, 2014, 07:20:54 AM »

Hello,

If your editor is actually changing the quotations, that's either a setting in the editor itself or a setting on your server such as php_magic_quotes being enabled. A default Joomla install won't change those quotes, and they have to be shown as actual quotes for any html element to show properly.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
jennymac
Jr. Member
**
Offline Offline

Posts: 144



WWW
« Reply #2 on: August 20, 2014, 08:06:20 PM »

Thanks Mike for that - that is interesting. When I set up the new site, during the installation process I had to create a php.ini file within the installation folder to allow the installation to process because the 'magic quotes' was 'no'. The php.ini files was deleted when the installation folder was deleted.
When I logged into my new site, I had this message "Error Your host needs to disable magic_quotes_gpc to run this version of Joomla!" I contacted my host and they said it is fixed but 24 hours later it is not I see. I will chase them up on that.
Blessings
Jenny

Logged

Jenny McWilliam
Girls' Brigade Victoria
Webmaster!
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: August 20, 2014, 10:02:03 PM »

Hello,

Just contact your host and reference this:

http://docs.joomla.org/How_to_turn_off_magic_quotes_gpc_for_Joomla_3

They need to make the changes server side not added during an installation file.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
jennymac
Jr. Member
**
Offline Offline

Posts: 144



WWW
« Reply #4 on: August 21, 2014, 01:16:28 AM »

All good - working beautifully now.
The first tech may not have known what they were doing but the 2nd one did - yay!
Pictures all where they should be.
Blessings
Jenny
Logged

Jenny McWilliam
Girls' Brigade Victoria
Webmaster!
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #5 on: August 21, 2014, 05:25:08 PM »

Awesome glad to hear!

Let us know if you have any other questions.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.