The module repeats the teaser, and show that was save two times the same image.

# Save "http://www.google.pt/chrome/intl/pt-PT/images/logo_sm.jpg" success
# Save "http://www.google.pt/chrome/intl/pt-PT/images/logo_sm.jpg" success

When I edit i show:

Only local images are allowed.
bla,bla,bla,bla,bla,
bla,bla,bla,bla,bla,
bla,bla,bla,bla,bla,bla,bla
Only local images are allowed.
bla,bla,bla,bla,bla,
bla,bla,bla,bla,bla,
bla,bla,bla,bla,bla,bla,bla
bla,bla,bla,bla,bla,bla,bla
bla,bla,bla,bla,bla,bla,bla
bla,bla,bla,bla,bla,bla,bla

Comments

int’s picture

The block when I edit:

<img src="http://www.infonoticias.eu/sites/default/files/get_image/logo_sm.jpg" align="right" />
    bla,bla,bla,bla,bla,
    bla,bla,bla,bla,bla,
    bla,bla,bla,bla,bla,bla,bla<img src="http://www.infonoticias.eu/sites/default/files/get_image/logo_sm.jpg" align="right" />
    bla,bla,bla,bla,bla,
    bla,bla,bla,bla,bla,
    bla,bla,bla,bla,bla,bla,bla
    bla,bla,bla,bla,bla,bla,bla
    bla,bla,bla,bla,bla,bla,bla
    bla,bla,bla,bla,bla,bla,bla 
eastcn’s picture

Yes, the picture is no information into the database, so it is difficult to determine whether already been downloaded.

      if(variable_get('get_image_'.$node->type, 0)){
        $node->body = preg_replace_callback('/(<img.*?src=")(.*?)"/ms', '_get_image_save', $node->body);
       // $node->teaser = preg_replace_callback('/(<img.*?src=")(.*?)"/ms', '_get_image_save', $node->teaser);
      }

int’s picture

the problem isn't that..

If I don't have the break teaser, and do autobreak... This module thinks that I have the teaser and body with diferent text, but isn't true..

The teaser don't exist is a copy of body text(limited 600char).

So:
I only write in the Body this:

Line1 <img src="www.originalurl.com/aa.jpg">
Line2
Line3
Line4
Line5
Line6

This module make this(if detect image):

Line1 <img src="www.myurl.com/.../aa.jpg">
Line2
Line3
Line1 <img src="www.myurl.com/.../aa_0.jpg">
Line2
Line3
Line4
Line5
Line6

Instead of this:

Line1 <img src="www.myurl.com/.../aa.jpg">
Line2
Line3
Line4
Line5
Line6
int’s picture

Priority: Normal » Critical
Status: Active » Fixed

Fixed in 6.x-1.0-beta3, thanks...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.