Page 68 of 110 FirstFirst ... 1858666768697078 ... LastLast
Results 671 to 680 of 1096
  1. #671

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by DivaVocals View Post
    and for the slightly off topic post..

    HEY YOU!!! Long time no chat at!!! **waves**
    With apologies to thread readers for being off topic: HEY!!! How are you feeling?!? Better I hope I've been reading your replies and thinking....it's so good to see her back! I look forward to your being 100% back whenever you feel up to it
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  2. #672
    Join Date
    Jan 2011
    Location
    Slovakia
    Posts
    24
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by niccol View Post
    It is a character encoding issue, which isn't really to do with IH at all.

    If your character encoding is set to windows-1250 for your site, which the error suggests, then there is a lot of docmentation out there about issues with htmlentities.

    The character encoding is set in the file languages/english.php ( or it's override ). You are looking for a line that looks like this:

    Code:
    // charset for web pages and emails
      define('CHARSET', 'iso-8859-1');
    That is the default setting for Zen Cart -- iso-8859-1. It looks like you or someone else has changed this and you need to decide why. Or alternatively other changes have been made to your site that have messed up the character encoding.

    As always it is actually a heck of a lot easier for people to help you if you give people a bit more information - like a URL for example.....

    Yes, my site www.poncik.eu is using windows-1250 charset. I understand now that htmlentities doesn't support this charset. But is there any other way to escape quotes without using htmlentities so I don't get the warning? Or is this line 690 that important for IH3?

  3. #673

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by dee_d_lady View Post
    Yes, my site www.poncik.eu is using windows-1250 charset. I understand now that htmlentities doesn't support this charset. But is there any other way to escape quotes without using htmlentities so I don't get the warning? Or is this line 690 that important for IH3?
    All lines in the code are important. Typically speaking..software (well...good software) files don't carry extraneous or unnecessary code. All code that is written is code that is necessary.


    Line 689 & 690 of this file: /includes/classes/bmz_image_handler.class.php contains the following code:

    Code:
     //escape possible quotes if they're not already escapped
    		$alt = addslashes(htmlentities($alt, ENT_COMPAT, CHARSET));
    While I can't explain what this means exactly (someone more knowledgable about the inner workings of IH3 will need to answer that one) I can say it is necessary code.

    I know that doesn't solve your problem, but someone more experienced with php will need to step in here to assist you.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  4. #674
    Join Date
    Jul 2008
    Location
    london
    Posts
    169
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by ScriptJunkie View Post
    I don't know that it's going to be more difficult...but could definitely be time consuming if you have a lot of images.

    I don't know of a program that will automatically rename your images for you...but if you've been using extensions on your file names like image1_LRG.jpg (with the _LRG part being the extension)...you're going to want to get rid of the extension anyway. So as long as you're dumping extensions, you can rename the files as you go.

    I know that doesn't really help you cut down on the amount of work there is to do, I'm sorry. I'm afraid there's no fast easy way to organize/re-organize a lot of images that have been allowed to pile up in a single folder. That's not a criticism...I've been where you are so I really empathize.

    I think you're going to have to take the long road to solve this one. Please don't let that deter you though....the results will be well worth the effort in the long run. The alternative is to leave it as is, and it will only get worse
    Hi, Thanks, for the support! I am already on it. As suggested by the man, i found a program by typing in "free renaming.. in the big G, that seems to do what i want. I have about 500 images to rename and i have already whittled that down to 350 images with spaces.
    I just need to rename twice; once to add the _ and once to remove the _LRG. I am on my way to doing it correctly.
    BTW; great readme file!

    Thanks, guys and gals
    Soul39

  5. #675
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Image Handler 3 Support Thread

    While I agree entirely with what scriptjunkie says about extraneous code there are perhaps a few exceptions.

    I haven't looked at this really closely but the line of code is 'sanitising' the alt tag before it is output. What that means effectively is that it is removing the double quotes from the alt tag if they are there. Why? Well if you think of an image tag:

    Code:
    <img src="whatever" alt="alt-text"/>
    you can see that if the alt-text contains a double quote like this ( alt"-"text ) then you are going to end up with poorly formed html. Something like:

    Code:
    <img src="whatever" alt="alt"-"text"/>
    which means that the double quotes in the image tag are messed up.

    That is just an example, htmlentities turns a list of characters into their html entities. It is often used for sanitising user input before it is sent to a web page both for practical and security reasons. Have a read of http://php.net/manual/en/function.htmlentities.php to find out more about what it does.

    Personally, I think it would be fine to make sure that all your image names do not contain any strange characters and then just comment out this line. But I am probably going to get seriously criticised for that comment Or you could write a bit of a replacement for htmlentities. Something like:

    Code:
    $alt = addslashes(str_replace('"','',$alt))
    Which just removes any double quotes but doesn't do anything else so is not nearly as complete a solution. So, you could write a much more complete bit of code that, for instance removed any characters that were not a-z or 1-9. Something like:

    Code:
    $alt= preg_replace("/[^a-zA-Z0-9\s]/", "", $alt);
    None of this is tested so.....

  6. #676

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by Soul39 View Post
    Hi, Thanks, for the support! I am already on it. As suggested by the man, i found a program by typing in "free renaming.. in the big G, that seems to do what i want. I have about 500 images to rename and i have already whittled that down to 350 images with spaces.
    I just need to rename twice; once to add the _ and once to remove the _LRG. I am on my way to doing it correctly.
    BTW; great readme file!

    Thanks, guys and gals
    Soul39
    That's awesome! Glad you found what you needed
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  7. #677
    Join Date
    Oct 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by presh View Post
    Hello, I have a question about product images. When I list 4 or so images to come up for a product and list there LRG images too, I get the larger images under the small icon ones at the bottom but cannot navigate around the image. Is there a way that when you go to larger image you can pan through the image as at the momment it just zooms into a particular section of the small image and cannot move around, cheers presh.
    v1.3.9h
    sorry guys...Wasn't actually using Image Handler 3 when I asked this question I was doing it old school...sorry, I have now uploaded image handler and all is well. Thankyou.

  8. #678
    Join Date
    May 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    installed this today, problem free and works really well.

    One thing I would like to do is control is the position of the pop up on hover, to be more central to the screen instead of the left or right of the image (depending on where the mouse is hovering)

  9. #679
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    Quote:
    Originally Posted by Athens Collectibles
    Thanks for your comments Dark Angel,

    As I said in my previous post, I will go to IH3 after carefully reading the excellent documentation. As for the multiple images: I sometimes have a medium or large image different from the thumbnail but I may change the policy now.

    I will see you in the IH3 support thread if everything doesn't go well, although I'm sure it will. I like your site by the way!
    A Image Handler has always supported this ability.. Most folks don't use it so they don't know this ability exists.. In the IH3 documentation we included ALL of Tim's original excellent documentation because there are a NUMBER of functions that Image Handler supports that other similar image manage modules for Zen Cart DO NOT support that most people are not aware of..
    Thanks for the above reply to the IH2 Support Thread. I have now installed IH3 and use 3 different images (small, medium, large) for each item.

    I don't have any problem but as long as I don't load one image only through IH3, all three images are not served from the cache but from their respective url. IH3 creates its own small images, for example the tiny image appearing in the shopping cart and loads it from the cache folder. I'm not very sure if this is because of improper configuration or it's the normal way it works. In any case, it's not causing problems but I just wonder.

  10. #680
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by Athens Collectibles View Post
    I don't have any problem but as long as I don't load one image only through IH3, all three images are not served from the cache but from their respective url. IH3 creates its own small images, for example the tiny image appearing in the shopping cart and loads it from the cache folder. I'm not very sure if this is because of improper configuration or it's the normal way it works. In any case, it's not causing problems but I just wonder.
    ok, yes you upload the largest sized image only and IH3 takes care of resizing them all according to how you have your sizes set in images settings.

    you can upload more than one image for your product -- like to show a different angle if needed, or color for instance -- just upload the additional images with the same name as the first but appending the _01 with consecutive numbers for each additional image then they will all show up on the product page.

    You can upload all images to the main Images folder or sub folder them your own way in the main images folder.

    If it is showing you the link from the bmz_cache folder then yes it is working as it should...those are the optimized ones that IH3 created to cut down on render time for the page.

    I hope that is what you are asking.

 

 
Page 68 of 110 FirstFirst ... 1858666768697078 ... LastLast

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  2. AJAX IMAGE Swapper support thread
    By jaycode in forum All Other Contributions/Addons
    Replies: 785
    Last Post: 13 Jan 2016, 11:48 PM
  3. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  4. Image Titles Support Thread
    By gjh42 in forum All Other Contributions/Addons
    Replies: 155
    Last Post: 9 Sep 2014, 04:51 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR