We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

PHOTO : Remove AJAX system and show pictures on pages | Forum

Topic location: Forum home » Support » General Questions
Guillaume Gécé
Guillaume Gécé Sep 8 '13
Hello,

My name's Guillaume and I'm from France (hopefuly you'll understand my request, my englisgh isn't perfect !). I'm 20 and actually developping a website about comics - this is the main problem.

I need people to see the pictures vertically to read the comics - and the plugin is made to show pictures horizontally. Then, when I decide to read my cartoon, it's reduced and adapted to the height of the screen. This is due to the ajax module resizing pictures.

I need then to remove this plugin - I just want my pictures to be shown on simple pages ... it was the case before !

I hope you understand, thanks a lot for helping !
The Forum post is edited by Guillaume Gécé Sep 8 '13
ross Team
ross Sep 10 '13
Guillaume, 


what plugin are you using for resizing pictures? as to the displaying pictures horizontally - do you mean that the image turns around? can you please provide us the screenshot of uploaded image. 

Guillaume Gécé
Guillaume Gécé Sep 11 '13
Hi Ross,

Thanks a lot for your answer. I'm actually using the basic photo plugin which shows photos on an ajax page ! I just would like members to see the pictures on new pages ! With no javascript ! Do you understand ?
Alia Team
Alia Sep 16 '13
Guillaume Gécé, modifying "Photo" plugin is complex custom code modification. If you are not a developer, I don't recommend changing anything. Leave "Photo" plugin as it is now.

For your cartoons, I suggest creating separate custom page where you as site admin will post needed images manually using simple <html>.


1. Upload your image using upload form under admin panel>>appearence>>edit theme>>graphics
2. Copy full URL of the upload image
3. Create a new custom page in  admin panel>>pages&menus>>pages&menus>>add new item.



4. For the "Page Content" box use your <html>. Here is a simple one.

<html>
<img src="http://sitename.com/ow_userfiles/themes/theme_image_6.jpg" alt="Title goes here"  target="_blank>
</html>


Where "sitename.com/ow_userfiles/themes/theme_image_6.jpg" is URL you have copied earlier.

5. Save changes. Go to your site. You will get a new menu item that will open in a new page with your image.
You can upload more images and use the same .html format for them as well, just keep adding new lines with<img src...>.

You can play around with your .html code. Add several columns for your images, set needed width and height. You will find a lot of tutorials if you google and will get hold of .html easily, while modifying .php code of the "Photo" plugin is not that easy.

Note that only site admin will be able to add images to the new custom page, since only admin has access to the admin panel.