No Image Upload Box for {page_image}

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
andy25
Forum Members
Forum Members
Posts: 13
Joined: Thu Jan 22, 2009 2:24 pm

No Image Upload Box for {page_image}

Post by andy25 »

I've recently upgraded my version to 1.5.2 and the image upload which is labelled as image on the content pages doesnt exist.
All i see is the word "image" but no option to upload.  This is the new plugin and unrelated to the image manager.

Also it says there is SEO friendly pages but there is no change.  IE i still see "index.php?page=home"

Any help on any of these issues would be great. 

Thanks
User avatar
hibr
Forum Members
Forum Members
Posts: 73
Joined: Fri Feb 08, 2008 11:22 pm

Re: No Image Upload Box for {page_image}

Post by hibr »

andy25 wrote: [...]
Also it says there is SEO friendly pages but there is no change.  IE i still see "index.php?page=home"
I can't help you with your first question but maybe with the second. If your previous site did not have Pretty URLs you need to activate SEO Urls. See documentation at http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Optional_Settings, section "Pretty URLs and mod_rewrite".

If you have already done these steps and Pretty Urls are still not working you maybe have not deleted your cache ("Site Admin->Global Settings" Press button "Clear" at "Clear Cache") or your hoster does not support mod_rewrite. Ask your hoster for activating the mod_rewrite module or use the CMSms internal Pretty-Url-mechanism.

Regards, Hani
Last edited by hibr on Fri Jan 30, 2009 10:05 pm, edited 1 time in total.
Hanis Sammelsurium - How To's, Erfahrungs- und Meinungsberichte
andy25
Forum Members
Forum Members
Posts: 13
Joined: Thu Jan 22, 2009 2:24 pm

Re: No Image Upload Box for {page_image}

Post by andy25 »

Thanks for the reply.
 
For URL rewrite I followed your instruction and cleared the cache and also edited the following lines in the config file from false to true:

$config['assume_mod_rewrite'] = true;

$config['use_hierarchy'] = true;

All works perfectly.  Thanks for your help Hani!

Still no joy on this missing image box though...any ideas anyone?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: No Image Upload Box for {page_image}

Post by RonnyK »

The field "image" and "image thumbnail", willl only show a pulldown, when an image is available in the /uploads/images folder.

The new plugin {page_image} is only meant to retrieve the name of the image attached to the page.

Ronny
andy25
Forum Members
Forum Members
Posts: 13
Joined: Thu Jan 22, 2009 2:24 pm

Re: No Image Upload Box for {page_image}

Post by andy25 »

Ahh you're right.  I had them in subfolders.  I uploaded one to the root of the images folder and it all worked.  If an image is chosen how is this referenced in your template please?
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: No Image Upload Box for {page_image}

Post by KO »

This is how image tag works http://www.w3schools.com/html/html_images.asp

This is how CSS Background works http://www.w3schools.com/css/css_background.asp
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: No Image Upload Box for {page_image}

Post by RonnyK »

What do you mean with referenced?

The logic behind these 2 images, is that they are adressable from MenuManager, making it possible to create an image-driven menu f.e. So the fields are in the backend, the {page_image} plugin can be used to get the name of the image attached to the page...

For a image specific for the page, there is the {content_image} plugin. That will create an input field in the backend for the linking of an image, which is there as it is only showing in the backend, when called in the template..

Ronny
Post Reply

Return to “CMSMS Core”