1 2014-11-10 17:55:30

Topic: blog image

How can I get a image like this;
http://enlab.co/files/blog.png

2 (edited by nakome 2014-11-10 19:20:47)

Re: blog image

This is ease look this:

File library/Morfy.php line 78

    private $page_headers = array(
                                    'title'         => 'Title',
                                    'description'   => 'Description',
                                    'keywords'      => 'Keywords',
                                    'author'        => 'Author',
                                    'date'          => 'Date',
                                    'robots'        => 'Robots',
                                    'tags'          => 'Tags',
                                    'template'      => 'Template',
                                    'thumbnail'     =>  'Thumbnail'  // this is a new object
                                );

Md file like blog:

Title: Example title one
Description: New Description  
Keywords: Keywords here
Author: Author
Date: January 11, 2014
Tags: Tags here
Template: index
Thumbnail: public/images/image.jpg
--------
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste ut, aliquid modi consequatur vitae minima dolor quibusdam sit nisi eos temporibus exercitationem aperiam deleniti nesciunt dignissimos deserunt ducimus provident facilis.


Blog template



runAction('theme_content_before'); ?> getPages($url,$order_by,$order_type,$ignore,$limit); // $url is a folder of posts $url = CONTENT_PATH . '/blog/'; // $order_by is a order like date or title $order_by = 'date'; // $order_type is a order type like ASC or DESC $order_type = 'DESC'; // $ignore = array of files to ignore $ignore = array('404','index'); // $limit is a number of posts $limit = 2; $posts = Morfy::factory()->getPages($url,$order_by, $order_type,$ignore,$limit); foreach($posts as $post) { // use default image if not write Thumbnail $thumbnail = ($post['thumbnail']) ? $post['thumbnail'] : $config['Site_url'].'public/images/default.jpg'; echo '

'.$post['title'].'

Posted on '.$post['date'].'

'.$post['title'].'
'.$post['content_short'].'
'; } ?> runAction('theme_content_after'); ?>


If you use in normal page  use:


<?php echo $page['title'];?>

Example
https://dl.dropboxusercontent.com/u/23834858/fotos/blog%20thubnail.jpg

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

3 2014-11-10 19:28:56

Re: blog image

Okay I found it smile
look here video https://www.dropbox.com/s/bl241u6ef1pxh … 3.mp4?dl=1

4 (edited by dextra 2014-11-10 19:37:39)

Re: blog image

nakome wrote:

This is ease look this:

File library/Morfy.php line 78

    private $page_headers = array(
                                    'title'         => 'Title',
                                    'description'   => 'Description',
                                    'keywords'      => 'Keywords',
                                    'author'        => 'Author',
                                    'date'          => 'Date',
                                    'robots'        => 'Robots',
                                    'tags'          => 'Tags',
                                    'template'      => 'Template',
                                    'thumbnail'     =>  'Thumbnail'  // this is a new object
                                );

Md file like blog:

Title: Example title one
Description: New Description  
Keywords: Keywords here
Author: Author
Date: January 11, 2014
Tags: Tags here
Template: index
Thumbnail: public/images/image.jpg
--------
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste ut, aliquid modi consequatur vitae minima dolor quibusdam sit nisi eos temporibus exercitationem aperiam deleniti nesciunt dignissimos deserunt ducimus provident facilis.


Blog template



runAction('theme_content_before'); ?> getPages($url,$order_by,$order_type,$ignore,$limit); // $url is a folder of posts $url = CONTENT_PATH . '/blog/'; // $order_by is a order like date or title $order_by = 'date'; // $order_type is a order type like ASC or DESC $order_type = 'DESC'; // $ignore = array of files to ignore $ignore = array('404','index'); // $limit is a number of posts $limit = 2; $posts = Morfy::factory()->getPages($url,$order_by, $order_type,$ignore,$limit); foreach($posts as $post) { // use default image if not write Thumbnail $thumbnail = ($post['thumbnail']) ? $post['thumbnail'] : $config['Site_url'].'public/images/default.jpg'; echo '

'.$post['title'].'

Posted on '.$post['date'].'

'.$post['title'].'
'.$post['content_short'].'
'; } ?> runAction('theme_content_after'); ?>


If you use in normal page  use:


<?php echo $page['title'];?>

Example
https://dl.dropboxusercontent.com/u/23834858/fotos/blog%20thubnail.jpg

yes I did it smile
I learn quickly wink

Re: blog image

Good smile

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: blog image

Doesn't work on Monstra 3.0.1, can you help please?

7 2015-01-03 07:26:07

Re: blog image

Daidalos wrote:

Doesn't work on Monstra 3.0.1, can you help please?

This code is only for morfy!

Re: blog image

So why it is in the Monstra Questions?
I need blog pages with pictures, is it possible in Monstra or not?

Re: blog image

Daidalos wrote:

So why it is in the Monstra Questions?
I need blog pages with pictures, is it possible in Monstra or not?

http://forum.monstra.org/topic/356/extr … e-snippet/

Re: blog image

nakome wrote:

This is ease look this:

File library/Morfy.php line 78

    private $page_headers = array(
                                    'title'         => 'Title',
                                    'description'   => 'Description',
                                    'keywords'      => 'Keywords',
                                    'author'        => 'Author',
                                    'date'          => 'Date',
                                    'robots'        => 'Robots',
                                    'tags'          => 'Tags',
                                    'template'      => 'Template',
                                    'thumbnail'     =>  'Thumbnail'  // this is a new object
                                );

Md file like blog:

Title: Example title one
Description: New Description  
Keywords: Keywords here
Author: Author
Date: January 11, 2014
Tags: Tags here
Template: index
Thumbnail: public/images/image.jpg
--------
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste ut, aliquid modi consequatur vitae minima dolor quibusdam sit nisi eos temporibus exercitationem aperiam deleniti nesciunt dignissimos deserunt ducimus provident facilis.


Blog template



runAction('theme_content_before'); ?> getPages($url,$order_by,$order_type,$ignore,$limit); // $url is a folder of posts $url = CONTENT_PATH . '/blog/'; // $order_by is a order like date or title $order_by = 'date'; // $order_type is a order type like ASC or DESC $order_type = 'DESC'; // $ignore = array of files to ignore $ignore = array('404','index'); // $limit is a number of posts $limit = 2; $posts = Morfy::factory()->getPages($url,$order_by, $order_type,$ignore,$limit); foreach($posts as $post) { // use default image if not write Thumbnail $thumbnail = ($post['thumbnail']) ? $post['thumbnail'] : $config['Site_url'].'public/images/default.jpg'; echo '

'.$post['title'].'

Posted on '.$post['date'].'

'.$post['title'].'
'.$post['content_short'].'
'; } ?> runAction('theme_content_after'); ?>


If you use in normal page  use:


<?php echo $page['title'];?>

Example
https://dl.dropboxusercontent.com/u/23834858/fotos/blog%20thubnail.jpg

hi

how can I have this blog template
https://dl.dropbox.com/s/98syisu9ho2dlbe/2015-01-18_15-37-11.png
code


    
    
    
    
blog images
Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, gravida nibh vel velit auctor aliquet proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, gravida nibh vel velit auctor aliquet...
';

how can I have this blog post template
https://dl.dropbox.com/s/aybuzwi9idkandi/2015-01-18_15-41-38.png
code

    
    
    
    
    

Donec Venenatis Mattis

blog main image
Johny Doe 144 comments News, Post

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent eget enim elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas nibh sapien, adipiscing vitae tellus at, imperdiet convallis urna. Integer vel tempus massa. Sed lobortis mi eget aliquet vehicula. Morbi in posuere sem, blandit hendrerit lorem. Nulla nec nibh sed libero convallis convallis rhoncus ac velit. Nam dapibus diam sed scelerisque imperdiet. Curabitur vehicula eleifend sapien sit amet tincidunt. Donec sed aliquet lectus, quis pharetra velit. Aliquam aliquet interdum gravida. Duis tincidunt mi eu urna vestibulum, id rutrum metus elementum. Cras adipiscing, felis sed pulvinar semper, nunc lacus porta urna, nec porttitor magna tellus et metus. Fusce venenatis consectetur dui id sodales. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam vitae elit risus. Nulla vel est elit. Curabitur pellentesque vulputate blandit. Sed pharetra orci enim, eget pulvinar tellus scelerisque ac. Vestibulum feugiat dolor et hendrerit fermentum. Morbi ultrices nunc eget est fermentum, in viverra leo fermentum. Nam euismod eros et tempor iaculis. Nullam vitae diam ac nulla ullamcorper placerat. Fusce elementum imperdiet urna, a mattis nulla fringilla sit amet. Vivamus vehicula suscipit dolor.

H1 Tag Sample

Vestibulum purus est, dapibus vitae facilisis non, accumsan a ipsum. Quisque sollicitudin elementum iaculis. Curabitur ultricies nunc non augue elementum, eu pharetra lorem hendrerit. Nam ac mi placerat, porttitor lacus id, rutrum urna. Fusce nec feugiat nisi. Etiam nunc purus, cursus eu tincidunt ac, faucibus ac velit. Fusce venenatis tincidunt diam, quis euismod ipsum consectetur faucibus. Sed ac enim vel dui hendrerit dapibus. Nulla placerat nulla eu volutpat dapibus. Donec nisl sem, tempor venenatis tellus sit amet, faucibus interdum augue. Phasellus ultrices id neque nec bibendum. Quisque odio lorem, consectetur a metus id, venenatis malesuada sem. Mauris ut lorem sit amet magna mollis convallis dapibus ut nulla. Morbi euismod, dui nec dapibus auctor, nisl nisi bibendum ante, ac vehicula tellus risus a nibh. Donec porta adipiscing nunc, et pharetra leo mollis et.

H2 Tag Sample

Vestibulum purus est, dapibus vitae facilisis non, accumsan a ipsum. Quisque sollicitudin elementum iaculis. Curabitur ultricies nunc non augue elementum, eu pharetra lorem hendrerit. Nam ac mi placerat, porttitor lacus id, rutrum urna. Fusce nec feugiat nisi. Etiam nunc purus, cursus eu tincidunt ac, faucibus ac velit. Fusce venenatis tincidunt diam, quis euismod ipsum consectetur faucibus. Sed ac enim vel dui hendrerit dapibus. Nulla placerat nulla eu volutpat dapibus. Donec nisl sem, tempor venenatis tellus sit amet, faucibus interdum augue. Phasellus ultrices id neque nec bibendum. Quisque odio lorem, consectetur a metus id, venenatis malesuada sem. Mauris ut lorem sit amet magna mollis convallis dapibus ut nulla. Morbi euismod, dui nec dapibus auctor, nisl nisi bibendum ante, ac vehicula tellus risus a nibh. Donec porta adipiscing nunc, et pharetra leo mollis et.

H3 Tag Sample

Vestibulum purus est, dapibus vitae facilisis non, accumsan a ipsum. Quisque sollicitudin elementum iaculis. Curabitur ultricies nunc non augue elementum, eu pharetra lorem hendrerit. Nam ac mi placerat, porttitor lacus id, rutrum urna. Fusce nec feugiat nisi. Etiam nunc purus, cursus eu tincidunt ac, faucibus ac velit. Fusce venenatis tincidunt diam, quis euismod ipsum consectetur faucibus. Sed ac enim vel dui hendrerit dapibus. Nulla placerat nulla eu volutpat dapibus. Donec nisl sem, tempor venenatis tellus sit amet, faucibus interdum augue. Phasellus ultrices id neque nec bibendum. Quisque odio lorem, consectetur a metus id, venenatis malesuada sem. Mauris ut lorem sit amet magna mollis convallis dapibus ut nulla. Morbi euismod, dui nec dapibus auctor, nisl nisi bibendum ante, ac vehicula tellus risus a nibh. Donec porta adipiscing nunc, et pharetra leo mollis et.

H4 Tag Sample

Vestibulum purus est, dapibus vitae facilisis non, accumsan a ipsum. Quisque sollicitudin elementum iaculis. Curabitur ultricies nunc non augue elementum, eu pharetra lorem hendrerit. Nam ac mi placerat, porttitor lacus id, rutrum urna. Fusce nec feugiat nisi. Etiam nunc purus, cursus eu tincidunt ac, faucibus ac velit. Fusce venenatis tincidunt diam, quis euismod ipsum consectetur faucibus. Sed ac enim vel dui hendrerit dapibus. Nulla placerat nulla eu volutpat dapibus. Donec nisl sem, tempor venenatis tellus sit amet, faucibus interdum augue. Phasellus ultrices id neque nec bibendum. Quisque odio lorem, consectetur a metus id, venenatis malesuada sem. Mauris ut lorem sit amet magna mollis convallis dapibus ut nulla. Morbi euismod, dui nec dapibus auctor, nisl nisi bibendum ante, ac vehicula tellus risus a nibh. Donec porta adipiscing nunc, et pharetra leo mollis et.

Blockquote

Vestibulum purus est, dapibus vitae facilisis non, accumsan a ipsum. Quisque sollicitudin elementum iaculis. Curabitur ultricies nunc non augue elementum, eu pharetra lorem hendrerit. Nam ac mi placerat, porttitor lacus id, rutrum urna. Fusce nec feugiat nisi. Etiam nunc purus, cursus eu tincidunt ac, faucibus ac velit.

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus. John Doe, CEO

Left Image

Vestibulum purus est, dapibus vitae facilisis non, accumsan a ipsum. Quisque sollicitudin elementum iaculis. Curabitur ultricies nunc non augue elementum, eu pharetra lorem hendrerit. Nam ac mi placerat, porttitor lacus id, rutrum urna. Fusce nec feugiat nisi. Etiam nunc purus, cursus eu tincidunt ac, faucibus ac velit.

Image Fusce rutrum ultrices augue, nec blandit sapien cursus et. Sed porttitor dui id mauris condimentum vestibulum. Praesent vitae ligula tristique ante malesuada bibendum et in nulla. Nunc ac facilisis diam. Sed non arcu sed nisl tempus eleifend sed eget arcu. Donec viverra adipiscing dignissim. Quisque elementum neque et lacus fringilla, vitae luctus felis tempor. Duis a auctor eros, congue sollicitudin lectus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

Right Image

Vestibulum purus est, dapibus vitae facilisis non, accumsan a ipsum. Quisque sollicitudin elementum iaculis. Curabitur ultricies nunc non augue elementum, eu pharetra lorem hendrerit. Nam ac mi placerat, porttitor lacus id, rutrum urna. Fusce nec feugiat nisi. Etiam nunc purus, cursus eu tincidunt ac, faucibus ac velit.

Image Fusce rutrum ultrices augue, nec blandit sapien cursus et. Sed porttitor dui id mauris condimentum vestibulum. Praesent vitae ligula tristique ante malesuada bibendum et in nulla. Nunc ac facilisis diam. Sed non arcu sed nisl tempus eleifend sed eget arcu. Donec viverra adipiscing dignissim. Quisque elementum neque et lacus fringilla, vitae luctus felis tempor. Duis a auctor eros, congue sollicitudin lectus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

Comments

blog avatar

Johnny Doe Aug 11, 10:05 pm

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident.
blog avatar

Tiffany Morey Aug 11, 10:05 pm

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident.
blog avatar

Colin Stewart Aug 11, 10:05 pm

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident.
blog avatar

Tessa William Aug 11, 10:05 pm

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident.

Leave a reply

how do I accomplish this;
thanks!

11 2015-01-18 18:50:35

Re: blog image

Hi there,

Well first of all, you need to get the css file and place the code on it, maybe its good to create a new css file and add it to your template blog file!

Then, replace the links with your links for monstra for example:

blog avatar

So when you create your blog post you have everything connected wink

This is how your default blog post looks like:


Tags

Here you leave it as it is.... You want to change the Div's only for the ones your new template have, so on this one you can change the divs to meet your design leave all the rest as it is now!

Edit the header.chunk.php file and place your new css files from your template.

Then on the file: blog-post.template.php you want to make the same thing to meet your criteria.


/

Just call the actions you want inside of your own design! big_smile

Thats it wink

http://monstracreative.com - themes, plugins and snippets for monstra cms

:: ATTENTION ::
Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

wormsunited's Website

12 2015-01-18 18:54:53

Re: blog image

hi wormsunited,
This is blog morfy! no monstra.

Re: blog image

Howdy it works exactly the same way wink

http://monstracreative.com - themes, plugins and snippets for monstra cms

:: ATTENTION ::
Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

wormsunited's Website

Re: blog image

wormsunited wrote:

Howdy it works exactly the same way wink

bro is not the same

Re: blog image

Hi there mate!

What i want to tell you is that you need to replace the filespath like nakome said

getPages($url,$order_by,$order_type,$ignore,$limit);
            // $url  is a folder of posts
            $url = CONTENT_PATH . '/blog/';
            // $order_by is a order like date or title 
            $order_by = 'date';
            // $order_type is a order type  like ASC or DESC
            $order_type =   'DESC';
            // $ignore  = array of files to ignore
            $ignore =  array('404','index');
            // $limit is a number of posts
            $limit = 2;
            $posts = Morfy::factory()->getPages($url,$order_by, $order_type,$ignore,$limit);
            foreach($posts as $post) {
                // use default image if not write Thumbnail 
                $thumbnail =  ($post['thumbnail']) ? $post['thumbnail'] : $config['Site_url'].'public/images/default.jpg';
                echo '

'.$post['title'].'

Posted on '.$post['date'].'

'.$post['title'].'
'.$post['content_short'].'
'; } ?>

Best regards wink

http://monstracreative.com - themes, plugins and snippets for monstra cms

:: ATTENTION ::
Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

wormsunited's Website

Re: blog image

good morning friend,
I'm trying to do but does not come out right sad

17 2015-01-19 19:06:08

Re: blog image

Ok lets do this step by step then....

This is the basic structure for blog posts (as the default template) file => blog_post.html



runAction('theme_content_before'); ?>

Posted on

runAction('theme_content_after'); ?>

Now to match your criteria you need to add your own theme, start by creating your folder under themes/my-wonderfull-theme and then copy all the files under default theme there!

Lets start:

1st => You need to check on your header.html file

By default it looks like this:


  
    
    
        
    
        
    runAction('theme_meta'); ?>
    
    <?php echo $page['title']; ?>
    
     
     
    runAction('theme_header'); ?>
    
    
  
  
    
    

You need to edit the filepath of the links on your theme to match see on code the '' i placed there.

2nd => Lets check the footer.html in this cases normally I place there the scripts.js (for less load of the pages) see on code the '' i placed there for you.

    
runAction('theme_footer'); ?>

3rd => Now check your html version (the original one), now you need the midlle part for this template starts working ignore all the code as the header.html and footer.html you just want what is under the body section so you dont need to copy the hole page on it.

4 => grab a notepad ++ and hit serach and replace the filespath of your theme and that's it!

Conclusion:

You can paste html code on the md file and it reads perfectly (tested), all you need to do is replace the filespath.

Now if you need anymore help, please copy/paste here the full code of your theme and i will create it for you but my time is short, i promiss i will do my best to help you!

wink Best regards and good luck

http://monstracreative.com - themes, plugins and snippets for monstra cms

:: ATTENTION ::
Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

wormsunited's Website

Re: blog image

I think that was a misunderstanding!
I sent you private message thank!

19 2015-02-18 17:52:24 (edited by dextra 2015-02-19 07:58:19)

Re: blog image

nakome wrote:

This is ease look this:

File library/Morfy.php line 78

    private $page_headers = array(
                                    'title'         => 'Title',
                                    'description'   => 'Description',
                                    'keywords'      => 'Keywords',
                                    'author'        => 'Author',
                                    'date'          => 'Date',
                                    'robots'        => 'Robots',
                                    'tags'          => 'Tags',
                                    'template'      => 'Template',
                                    'thumbnail'     =>  'Thumbnail'  // this is a new object
                                );

Md file like blog:

Title: Example title one
Description: New Description  
Keywords: Keywords here
Author: Author
Date: January 11, 2014
Tags: Tags here
Template: index
Thumbnail: public/images/image.jpg
--------
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste ut, aliquid modi consequatur vitae minima dolor quibusdam sit nisi eos temporibus exercitationem aperiam deleniti nesciunt dignissimos deserunt ducimus provident facilis.


Blog template



runAction('theme_content_before'); ?> getPages($url,$order_by,$order_type,$ignore,$limit); // $url is a folder of posts $url = CONTENT_PATH . '/blog/'; // $order_by is a order like date or title $order_by = 'date'; // $order_type is a order type like ASC or DESC $order_type = 'DESC'; // $ignore = array of files to ignore $ignore = array('404','index'); // $limit is a number of posts $limit = 2; $posts = Morfy::factory()->getPages($url,$order_by, $order_type,$ignore,$limit); foreach($posts as $post) { // use default image if not write Thumbnail $thumbnail = ($post['thumbnail']) ? $post['thumbnail'] : $config['Site_url'].'public/images/default.jpg'; echo '

'.$post['title'].'

Posted on '.$post['date'].'

'.$post['title'].'
'.$post['content_short'].'
'; } ?> runAction('theme_content_after'); ?>


If you use in normal page  use:


<?php echo $page['title'];?>

Example
https://dl.dropboxusercontent.com/u/23834858/fotos/blog%20thubnail.jpg

news5.html



runAction('theme_content_before'); ?> getPages($url,$order_by,$order_type,$ignore,$limit); // $url is a folder of posts $url = CONTENT_PATH . '/news5/'; // $order_by is a order like date or title $order_by = 'date'; // $order_type is a order type like ASC or DESC $order_type = 'DESC'; // $ignore = array of files to ignore $ignore = array('404','index'); // $limit is a number of posts $limit = 2; $posts = Morfy::factory()->getPages($url,$order_by, $order_type,$ignore,$limit); foreach($posts as $post) { // use default image if not write Thumbnail $thumbnail = ($post['thumbnail']) ? $post['thumbnail'] : $config['Site_url'].'public/images/default.jpg'; echo '

'.$post['title'].'

Posted on '.$post['date'].'

'.$post['title'].'
'.$post['content_short'].'
'; } ?> runAction('theme_content_after'); ?>

news5_post.html


<?php echo $page['title'];?>

image not found!!

Re: blog image

Show me a screen of devtools form chrome

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: blog image

In localhost works!
while a server is not working
example tells me that the path of the image
http://mydomain.com/news5/public/images/default.jpg
http://postimg.org/image/jqrvrf65z/
http://postimg.org/image/bavek89qh/

Re: blog image

ok I found that is wrong wink

Title: Example title one
Description: New Description  
Keywords: Keywords here
Author: Author
Date: January 11, 2014
Tags: Tags here
Template: index
Thumbnail: public/images/image.jpg
--------
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste ut, aliquid modi consequatur vitae minima dolor quibusdam sit nisi eos temporibus exercitationem aperiam deleniti nesciunt dignissimos deserunt ducimus provident facilis.

change

Title: Example title one
Description: New Description  
Keywords: Keywords here
Author: Author
Date: January 11, 2014
Tags: Tags here
Template: index
Thumbnail: /public/images/image.jpg
--------
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste ut, aliquid modi consequatur vitae minima dolor quibusdam sit nisi eos temporibus exercitationem aperiam deleniti nesciunt dignissimos deserunt ducimus provident facilis.

change

;

 $thumbnail =  ($post['thumbnail']) ? $post['thumbnail'] : $config['Site_url'].'public/images/default.jpg';

change

 $thumbnail =  ($post['thumbnail']) ? $post['thumbnail'] : $config['Site_url'].'/public/images/default.jpg';

Re: blog image

Yes in new morfy  you need use this wink

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website