Announcement: New plug-in SuperSizer

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
rubberglover
Forum Members
Forum Members
Posts: 53
Joined: Mon Jul 23, 2007 5:30 pm

Re: Announcement: New plug-in SuperSizer

Post by rubberglover »

Thanks for the response Jeremy... I am all up to date and still have a problem. I'm using:

CGExtensions 1.20
CGBlog 1.6.3
CGSimpleSmarty 1.4.5
CMSMS 1.9 (problem was the same on CMSMS v1.8)

The problem is a CGBlog issue I think... If I completely take supersizer out of the equation it's still not right. If I post a new blog, add an image via an image custom field, the post registers as complete but the image never uploads. Say if the post ID is '1', a folder is created in the uploads folder - 'uploads/cgblog/id1/' but it's empty. If I browse back to the post it gives me the option to delete the file, but just shows '1' where the filename should be... (see screen shot below).

Image

Is this the problem that you fixed with Calguy a while back or is this something new? I know it's not strictly relevant here but I just want to find out if this problem is the one that you just mentioned or whether this is a different problem!

Many thanks,
Andy
JeremyBASS

Re: Announcement: New plug-in SuperSizer

Post by JeremyBASS »

It's completely possble that I have the only fixed version... I have no idea if it's been published...
kendo451

Re: Announcement: New plug-in SuperSizer

Post by kendo451 »

I have found that happens if you upload the same image a second time without deleting it first.

Try this:

1. Delete the image from that field in CGBlog.

2. Go in your uploads folder and find the cgblog folder for that entry, and make sure the image file has been deleted.

3. Then go back into CGBlog and try uploading an image in the image field.
rubberglover
Forum Members
Forum Members
Posts: 53
Joined: Mon Jul 23, 2007 5:30 pm

Re: Announcement: New plug-in SuperSizer

Post by rubberglover »

Thanks for the tip, but unfortunately this happens right off the bat... if I have a fresh install and I make a brand new post (uploads/cgblog is empty), it creates the ID folder in the uploads/CGblog folder, but doesn't actually upload the file...

Hopefully Jeremy has the only fixed version and Calguy will release an update soon (wink wink) ;-)

I don't know how many people use the custom fields for image uploads so it may not have been encountered all that much, but i'd be interested to know if anyone else has had this issue with v1.6.3 of CGBlog?

Thanks for trying guys!
Andy
kendo451

Re: Announcement: New plug-in SuperSizer

Post by kendo451 »

I also had the issue, but couldn't upload the images at all.  Put in a bug report about a week ago.
JeremyBASS

Re: Announcement: New plug-in SuperSizer

Post by JeremyBASS »

looks like the new CGExtensions is out... that should fix it.. try it out.. hth cheers -J
rubberglover
Forum Members
Forum Members
Posts: 53
Joined: Mon Jul 23, 2007 5:30 pm

Re: Announcement: New plug-in SuperSizer

Post by rubberglover »

Thanks for the tip Jeremy... tried it, but unfortunately the problem remains. Can upload files via file manager no problem. Ah well, hopefully it will be sorted soon. Did the update change anything for you kendo?
kendo451

Re: Announcement: New plug-in SuperSizer

Post by kendo451 »

No joy.
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Announcement: New plug-in SuperSizer

Post by pukka »

Hello,

I'm trying to apply supersizer to my template but get the following error message on the frontend:

----------------------------------------------------------------------
There is a path issue with the orginal image!
Does this look right?
Path:www.mywebsite.co.uk/uploads/Products/pr ... 3217-b.jpg
----------------------------------------------------------------------


Below is the template i'm using:

-------------------------------------------------------------------
{if isset($catformstart)}
{$catformstart}
{$catdropdown}{$catbutton}
{$catformend}
{/if}


{foreach from=$items item=entry}





{assign var=imglocation value=$entry->file_location}

{assign var='products_image' value=$entry->fields.image1->value|default:$entry->fields.image2->value|default:$entry->fields.image3->value|default:$entry->fields.image4->value|default:''}{*choose first not empty image field*}

{if !empty($products_image)}

detail_url}">

{supersizer path="$imglocation/$products_image" height="370"}

{/if}


detail_url}">{$entry->product_name}
{$currency_symbol}{$entry->price|number_format:2}
   


  {* include the cart
  {cge_have_module m='CGEcommerceBase' assign='tmp'}
  {if $tmp}
 
  {cgecomm_form_addtocart product=$entry->id}
 
  {/if}
  *}

{/foreach}
-------------------------------------------------------------------


Thanks.
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Announcement: New plug-in SuperSizer

Post by nicmare »

did you try strip_tags?
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Announcement: New plug-in SuperSizer

Post by pukka »

How do i do that?

I'm still working my way up with smarty.
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Announcement: New plug-in SuperSizer

Post by nicmare »

User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Announcement: New plug-in SuperSizer

Post by pukka »

nicmare you rock!!!

It worked.

For anyone who might need it, i added the striptags like so:

{supersizer path="$imglocation/$products_image" height="370" strip_tags="true"}
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Announcement: New plug-in SuperSizer

Post by pukka »

Now something odd is happening.

Some of the images are not showing up on the front-end of the website.  ???

Any ideas.

[SOLVED] Images were not appearing due to the client uploading images that were smaller than the size specified in supersizer.
Last edited by pukka on Mon Nov 22, 2010 11:26 pm, edited 1 time in total.
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
kendo451

Feedback on crop

Post by kendo451 »

Jeremy, I've been using the current beta on a couple of projects now to crop product images.

The problem is that the customer-supplied product photos are highly variable in size, so you can use a percentage to crop, because the percentage depends on the size of the original compared to the size of the cropped-image.

So I have to call SuperSizer twice: once to resize the image to the target width or height, then call it again to crop, now that I know the percent is 100%.

If you're interested in re-doing the crop function so you can consistently scale and crop in one go, I'll be happy to share my code.
Locked

Return to “Modules/Add-Ons”