Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Views: 2,510,505

Results 5,601 to 5,620 of 7,094
30 Jul 2010, 4:39 AM
#5601
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Image Handler 2 (for ZC v1.3.8 ONLY) Support

tpeck:

Forgetting for a moment the particular issue of bracketing in filenames, it's clearly an inherently bad idea for users to incur errors of any sort that are preventable. Otherwise 99.5% of commercial software marketers would place less weight on user-friendliness than pleasing their purist IT teams. They don't.

This may help the debate on filenames

www.controlledvocabulary.com/imagedatabases/filename_limits.html

it clearly states that > Other forms of punctuation such as / \ : ! @ # $ % ^ < > , [ ] { } & * ( ) + = may have specific uses with various operating systems and create confusion or errors.

30 Jul 2010, 5:24 AM
#5602
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Of course I understand the point you are making - and it's a good one up to a point, but why do Picasa, ThumbsPlus, ACDSee, adnausem and even Windows not display such errors in the same circumstance?

OK, so you are arguing for cross-platform solutions. Absolutely, and zencart should attempt to function similarly without error on all platforms unless there are specific reasons why this cannot be done.

I don't see this as an issue about filenaming per se, but about stepping up to the plate vis-a-vis standards. This battle was won long ago in the marketplace.

30 Jul 2010, 5:36 AM
#5603
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Even in commercial software allowing special characters in file names is a BAD idea.. (which is why Microsoft and Adobe/Macromedia do not recommend using special characters in filenames either)

This is not about pleasing any IT purists, it's about BEST practices. Which is likely why the Zen Cart FAQ makes the same recommendation with regards to special characters, and does not "fix" the Zen Cart code to accept special characters in image filenames (which should not be included in filenames in the first place..)

It's been explained why these characters could not and should not be used. You do not agree with this, and that's fine.. We will have to agree to disagree.. If someone comes along to "fix" this, then great, but the upcoming IH2 release will not include code which allows special symbols to be used in image file names because the core Zen Cart code does not recommend this, and its not a recommended idea to use special characters in filenames.

http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#naming_conventions

Naming Conventions

The following fundamental rules enable applications to create and process valid names for files and directories, regardless of the file system:

  • Use a period to separate the base file name from the extension in the name of a directory or file.
  • Use a backslash () to separate the components of a path. The backslash divides the file name from the path to it, and one directory name from another directory name in a path. You cannot use a backslash in the name for the actual file or directory because it is a reserved character that separates the names into components.
  • Use a backslash as required as part of volume names, for example, the "C:" in "C:\path\file" or the "\server\share" in "\server\share\path\file" for Universal Naming Convention (UNC) names. For more information about UNC names, see the Maximum Path Length Limitation section.
  • Do not assume case sensitivity. For example, consider the names OSCAR, Oscar, and oscar to be the same, even though some file systems (such as a POSIX-compliant file system) may consider them as different. Note that NTFS supports POSIX semantics for case sensitivity but this is not the default behavior. For more information, see **CreateFile**.
  • Volume designators (drive letters) are similarly case-insensitive. For example, "D:" and "d:" refer to the same volume.
  • Use any character in the current code page for a name, including Unicode characters and characters in the extended character set (128–255), except for the following:
  • The following reserved characters:
  • < (less than)
  • (greater than)

  • : (colon)
  • " (double quote)
  • / (forward slash)
  • \ (backslash)
  • | (vertical bar or pipe)
  • ? (question mark)
    • (asterisk)
  • Integer value zero, sometimes referred to as the ASCII NUL character.
  • Characters whose integer representations are in the range from 1 through 31, except for alternate streams where these characters are allowed. For more information about file streams, see File Streams.
  • Any other character that the target file system does not allow.
  • Use a period as a directory component in a path to represent the current directory, for example ".\temp.txt". For more information, see Paths.
  • Use two consecutive periods (..) as a directory component in a path to represent the parent of the current directory, for example "..\temp.txt". For more information, see Paths.
  • Do not use the following reserved device names for the name of a file:

CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed immediately by an extension; for example, NUL.txt is not recommended. For more information, see Namespaces.

  • Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not. However, it is acceptable to specify a period as the first character of a name. For example, ".temp".

Short vs. Long Names

A long file name is considered to be any file name that exceeds the short MS-DOS (also called 8.3) style naming convention. Typically, Windows stores long file names on disk as special directory entries, which can be disabled systemwide for performance reasons depending on the particular file system. When you create a long file name, Windows may also create a short 8.3 form of the name, called the 8.3 alias, and store it on disk also. This 8.3 aliasing can be disabled for a specified volume. http://www.records.ncdcr.gov/erecords/filenaming_20080508_final.pdf
Rule #1: Avoid using special characters in a file name. \ / : * ? “ < > | [ ] & $ , .
The characters listed above are frequently used for specific tasks in an electronic environment. For example, a forward slash is used to identify folder levels in Microsoft products, while Mac operating systems use the colon. Periods are used in front of file-name extensions to denote file formats such as .jpg and .doc; using them in a file name could result in lost files or errors.
Rule #2: Use underscores instead of periods or spaces.
As mentioned above, periods already have a specific function in a file name, which is to tell the computer program where the file-name extension begins. Spaces are frequently translated in a Web environment to be read as “%20”. For example,
Naming tutorial.doc

would appear as

Naming%20tutorial.doc

if it were available online. This alteration can cause confusion in identifying the actual file name.

Spaces in file names can also cause broken links, because word processing tools like Microsoft Word, and e-mail clients like Microsoft Outlook, recognize spaces as an opportunity to move to another line. Therefore, a link to
\Ah1\Intranet\ar\naming conventions

could become

\Ah1\Intranet\ar\naming
conventions

Another difference that is found among operating systems and software is the acceptable length of file names. Some systems allow up to 256 characters, while others allow far fewer.

30 Jul 2010, 5:59 AM
#5604
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

Even in commercial software allowing special characters in file names is a BAD idea.

If someone comes along to "fix" this, then great, but the upcoming IH2 release will not include code which allows special symbols to be used in image file names because the core Zen Cart code does not recommend this, and its not a recommended idea to use special characters in filenames

But in the case of filenames that are accepted by the OS, it doesn't prevent commercial software from functioning.

No-one is asking you or anyone else to fix this immediately or ever if that's your decision - we are debating whether it's a worthy thing to do. If you tried to sell this product in the marketplace and an error popped up without even an error code, it would get the kind of commercial reception it deserves.

BTW agreeing to disagree doesn't mean that all the ideas have been floated in a debate.

30 Jul 2010, 6:16 AM
#5605
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

tpeck:

But in the case of filenames that are accepted by the OS, it doesn't prevent commercial software from functioning.Sure it does.. Try using one of the special characters Microsoft forbids in a Microsoft Word document, and let me know what error message you get.

tpeck:

No-one is asking you or anyone else to fix this immediately or ever if that's your decision - we are debating whether it's a worthy thing to do. If you tried to sell this product in the marketplace and an error popped up without even an error code, it would get the kind of commercial reception it deserves.On the contrary.. Microsoft is doing just fine. Microsoft Office still doesn't allow certain special characters in their filenames..

tpeck:

BTW agreeing to disagree doesn't mean that all the ideas have been floated in a debate.I haven't seen any new ideas floated.. So at this point I still respectfully still disagree with your viewpoint on this matter.

30 Jul 2010, 6:46 AM
#5606
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Don't take it from me - you can try it yourself:

Save a .doc(x) file with slashes or an asterisk and that's what you get.

If, however, you save a file without receiving an error, the inference is that the filename is valid. This, in and of itself, does not mean it won't fall over elsewhere, but Office - being a sufficiently well-developed piece of software has no issues with it.

Moreover, a more advanced filehandler than IH2 will have no problems at all with any image saved with a filename that .doc(x) accepts.

30 Jul 2010, 7:28 AM
#5607
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

tpeck:

Moreover, a more advanced filehandler than IH2 will have no problems at all with any image saved with a filename that .doc(x) accepts.and if someone decides to update IH2 to add this functionality then they will.. For now IH2 will not include any functionality which would allow special characters in filenames.. (and for the record the Zen Cart core code doesn't support this either.. hence the FAQ on this SAME matter..)

No disrespect, but this discussion is now bordering on beating a DEAD horse.. So personally I am kinda done with this discussion.. You all carry on if you wish..

30 Jul 2010, 7:46 AM
#5608
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

No disrespect isn't what you do. I'm still offended (with no apology) by your personal attacks on me. I don't agree to disagree that you are an offensive individual.

I also believe that you are incapable of extended discussion.

Which is why I am not alone in feeling discomfort in this thread.

But I am always willing to debate anyone. It's a pity you ward off others who can't be bothered with your top-down attitude.

They might shed light on something even you don't know.

30 Jul 2010, 8:29 AM
#5609
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
460
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Hi All,

I have Zen-Cart 1.3.9d with IH2 v8 and Zen Lightbox, all was working Great :)

I updated to 1.3.9e, and upgraded to v8b, now the Additional Images Don't display the Watermark and the zen lightbox feature to display the (next) button to view to the additional images isn't working!

Any ideas?

Best Regards,

30 Jul 2010, 8:48 AM
#5610
unicorn avatar

unicorn

Zen Follower

Join Date:
Sep 2008
Posts:
107
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DarkAngel:

a link would be most beneficial to getting you better assistance

did you make certain to select in the settings to allow both the zoom and watermark in configuration

https://www.mammabutikken.no/testebutikk is the link.

I have selected both watermark and zoom in configuration, although they are turned off right now as I gave up in the end. Figured out that the image size had to match etc, but still no watermark on large where I actually need it the most.

30 Jul 2010, 9:19 AM
#5611
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

rlexyd:

Hi All,

I have Zen-Cart 1.3.9d with IH2 v8 and Zen Lightbox, all was working Great :)

I updated to 1.3.9e, and upgraded to v8b, now the Additional Images Don't display the Watermark and the zen lightbox feature to display the (next) button to view to the additional images isn't working!

Any ideas?

Best Regards,The additional images issue is being addressed in the upcoming release.. (Rev8c will be submitted this weekend to the downloads section)

If you'd like to try it out (and I will ask you to post your results/feedback) PM me and I'll provide instructions..

30 Jul 2010, 9:26 AM
#5612
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Unicorn:

www.mammabutikken.no/testebutikk is the link.

I have selected both watermark and zoom in configuration, although they are turned off right now as I gave up in the end. Figured out that the image size had to match etc, but still no watermark on large where I actually need it the most.Sounds like you might have an older version of IH2.. Suggest the following:

  1. Un-install from the admin
  2. Download the latest version from the downloads section
  3. Read the readme thoroughly
  4. Upload the new fileset
  5. Re-install IH2 from the admin
    ETA:
    or if you'd like to try the new Rev8c version PM me..
30 Jul 2010, 9:28 AM
#5613
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

You can pm this woman if you wish, but a day later she may abuse you as she did me.

It's against the forum rules, but I am still waiting for an apology.

30 Jul 2010, 11:54 AM
#5614
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

If she still refuses to apologise, (and I have given her days to do so), I really do think it's time to argue why anyone should consider visiting her business.

We are all expected to do the right thing, why not DivaVocals?

30 Jul 2010, 12:00 PM
#5615
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

tpeck:

If she still refuses to apologise, (and I have given her days to do so), I really do think it's time to argue why anyone should consider visiting her business.

We are all expected to do the right thing, why not DivaVocals?

You sound very traumatised by this whole experience. I really do hope your ok :P

30 Jul 2010, 12:06 PM
#5616
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Nah - I just like zencart, and these idiots will eventually kill it.

30 Jul 2010, 12:14 PM
#5617
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

...but that doesn't mean they shouldn't abide by the rules...

They have no interest in rules sadly, but what can we do about that?

I would say give them a big miss.

30 Jul 2010, 10:02 PM
#5618
mlvbs avatar

mlvbs

New Zenner

Join Date:
Feb 2008
Posts:
15
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

The additional images issue is being addressed in the upcoming release.. (Rev8c will be submitted this weekend to the downloads section)

If you'd like to try it out (and I will ask you to post your results/feedback) PM me and I'll provide instructions..

Hello DivaVocals, I'm also not getting the watermarks on the additional large images. Could you please pm the fix.

Thanks for your time.

30 Jul 2010, 10:05 PM
#5619
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

mlvbs:

Hello DivaVocals, I'm also not getting the watermarks on the additional large images. Could you please pm the fix.

Thanks for your time.
No problem.. You will have a message shortly!:smile:

30 Jul 2010, 10:43 PM
#5620
mlvbs avatar

mlvbs

New Zenner

Join Date:
Feb 2008
Posts:
15
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

No problem.. You will have a message shortly!:smile:

Thanks very much. Tried the new version and it was a no-go. Watermarks worked in small additional images and medium additional images but not large additional images.