[web2py] Re: Image in web2py/MongoDB based blog

2013-03-27 Thread Hugo Costa
Thanks for the answer.

Isn't there a way to put images using links from other storage websites in 
the form? Because I'm not going to be the only administrating the site and 
they won't know how to work with the thing in that first link.

Terça-feira, 26 de Março de 2013 21:51:21 UTC, Alan Etkin escreveu:

  but I want to know how can I put an image/video in the text making them 
 appear in the view of the user.
  I tried using with HTML code but it didn't work.

 Where will the images come from?

 Will you store image files in you app folder?

 Here is a guide to handle images from the book:

 http://www.web2py.com/books/default/chapter/29/03#An-image-blog

 If you just need a way of adding images to you views, check the img helper 
 here

 http://www.web2py.com/books/default/chapter/29/05




-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: Image in web2py/MongoDB based blog

2013-03-27 Thread Alan Etkin


 Isn't there a way to put images using links from other storage websites in 
 the form? Because I'm not going to be the only administrating the site and 
 they won't know how to work with the thing in that first link


I think that you could use the new builtin wiki for allowing content 
management. You would still have to implement your own code for adding html 
with a wysiwyg, (I don't think it ships with the wiki feature). The wiki is 
also documented in the book here

http://www.web2py.com/books/default/chapter/29/03?search=auth.wiki#The-built-in-web2py-wiki

On the othe hand, If you plan to use a classic cms (i.e. letting users add 
and modify their own text and different media types), there are various 
ready to use apps that do it for you. If you type cms in the group search 
box, you'll find a lot of useful information on those apps. Two of them are 
Instant Press and Movuca (although Movuca is intended as a complete social 
network rather than a simple content management application). Also, there's 
a new web2py cms project recently announced in this group.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: Image in web2py/MongoDB based blog

2013-03-26 Thread Alan Etkin
 but I want to know how can I put an image/video in the text making them 
appear in the view of the user.
 I tried using with HTML code but it didn't work.

Where will the images come from?

Will you store image files in you app folder?

Here is a guide to handle images from the book:

http://www.web2py.com/books/default/chapter/29/03#An-image-blog

If you just need a way of adding images to you views, check the img helper 
here

http://www.web2py.com/books/default/chapter/29/05


-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.