MicrostockGroup Sponsors


Author Topic: 1.3.7 - Image / Watermark Reprocessing. Meta Data and Bug Fixes. Breaktime.  (Read 6713 times)

0 Members and 1 Guest are viewing this topic.

Leo Blanchette

« Reply #25 on: May 08, 2013, 03:58 »
0
Leo I updated to the last version but still have an issue with the vertical thumbnail e.g they are too big!
Laurent

http://aseanphotostock.com/image-type/microstock-rf-images/
I fixed that are u using current vsn?


« Reply #26 on: May 08, 2013, 05:53 »
0
I have finally tested the new version and during image processing (only 9 images = 9 vector & 9 jpeg files) the screen still went blank..

I am on godaddy as I mentioned before and I have another stock site of mine using exactly the same server with exactly the same specs and processing 30 - 50 images at a time without issues.. (cmsaccount) it may even do more, I haven't tried..

(talking about version 1.3.7)
« Last Edit: May 08, 2013, 10:33 by cidepix »

« Reply #27 on: May 08, 2013, 10:05 »
0
Leo I am using v1.3.7, looks like it is working now. Will erase and reupload the three previous pcitures with big thumbnails
« Last Edit: May 08, 2013, 10:28 by MicrostockExp »

Leo Blanchette

« Reply #28 on: May 08, 2013, 11:18 »
0
Open php.ini look for max time...
something like Max time a script can run....possibly default at 30 sec....
you can change that
I could change it in script itself but I'm going to wait on new release

Leo Blanchette

« Reply #29 on: May 08, 2013, 16:11 »
0
After processing, clicking on All Images just goes to a white screen. I have to refresh it and wait a minute or two for it to work.

In case it gives a clue to anyone as to whats wrong, my php.ini file contains this only:

upload_max_filesize = 64M
post_max_size = 64M
extension=imagick.so

Should it contain anything else to help with this? Again, I am on Bluehost.

Here's a little hack for anyone who does not want to wait till next release. I haven't tested it, but I'm sure it should work

Open functions.php file.

Go to line 1164 over "foreach( $post_ids as $post_id ) {"

Insert this code: set_time_limit( 0 );

If you leave it at "0" it will run indefinitely (depending on how long your host has set max run time, out of your control)
Other than that, the number represents seconds. So if you wish to let it run at max 10 minutes (which will slow down your site) you can simply put 600 seconds. (600)

EDIT: set_time_limit( 0 ); should go OVER the foreach loop. Sorry - was tired.

« Last Edit: May 08, 2013, 19:47 by Leo »

Microstock Man

  • microstockman.com

« Reply #30 on: May 08, 2013, 19:07 »
0
Thanks for the suggestion Leo.

Just to clarify, when you say it will slow down your site, that should only be WHILE the process is running right? As in, once it's done the image processing, everything should return to normal speed wise?

Leo Blanchette

« Reply #31 on: May 08, 2013, 19:47 »
0
Yes - just like when your computer is crunching something heavy (like a 3d render) everything will slow down, so for your server this is including page delivery. But when its done it will be back to normal.

See the edit above please.
« Last Edit: May 08, 2013, 19:50 by Leo »

Microstock Man

  • microstockman.com

« Reply #32 on: May 08, 2013, 21:35 »
0
No luck. Still white screen.

Heres my code in case I got it wrong:

set_time_limit( 0 );
$reprocessed = 0;
   foreach( $post_ids as $post_id ) {
                        


Leo Blanchette

« Reply #33 on: May 08, 2013, 21:53 »
0
Your doing 20 or less? Thats just a safe number.

But its hard to say whats causing it. Maybe the same thing I'm dealing with right now with Stompstock. I'll get back to you :D

Microstock Man

  • microstockman.com

« Reply #34 on: May 08, 2013, 22:11 »
0
Was 25 that time, but thats close enough.

Thing is, with GD I could do 100+ without any worries. I'm wondering if the problem lies, not in Imagick, but in the way you are appending the metadata?

Leo Blanchette

« Reply #35 on: May 08, 2013, 22:20 »
0
Could be. Its goes like this:

We need this added!
"This" gets added.
New addition makes new errors.
Now we must troubleshoot errors.

It could be the metadata, hard to say.

Leo Blanchette

« Reply #36 on: May 08, 2013, 22:22 »
0
I'll be getting to the issue soon, but if your not getting problems on smaller amounts, then theres no issue in imageprocessing itself. I'll have to look into it...but apparently its more of an inconvenience / cap on what you can do - not a deadly crash from one image due to a bug in the essentials.

Microstock Man

  • microstockman.com

« Reply #37 on: May 08, 2013, 22:37 »
0
Yeah I understand what you mean. There's bound to be some bugs in new features.

As long as it's on the to-do list Im ok with that. It's just frustrating to have something that was working fine now have problems - but then I guess thats your dilemma the whole way through this project!

I'll be as patient as possible till you get to look into it some more :) Thanks again Leo, appreciate your help.

Leo Blanchette

« Reply #38 on: May 08, 2013, 22:46 »
0
With the BIG change (which is looking quite nice) I'm hoping to privately test it before putting it out there.

Actually the recent changes were huge improvements. I think what we should do soon after *the big one* is open up one of those bug threads, then we can work through each big annoyance (like your SEO one). Did google ever fix your page excerpts?

Microstock Man

  • microstockman.com

« Reply #39 on: May 08, 2013, 23:26 »
0
Quit teasing with the BIG change!! ;) So keen to see it!

Yep, another big bug stomping thread will be in order no doubt.

Google has certainly improved with the page descriptions, but it's still not what I would like it to be. I REALLY think that an automated way to predefine meta-descriptions is big must have.

Eg: I could want mine to have "This is a photo of a cat" (image description from IPTC), followed by " - Royalty Free Stock Photo from $4" or something.

Someone else might want to repeat the image title in the image description. Or who knows what. Yoast has the ability to do all of that, but it depends on the information being in the image excerpt section (as far as I can tell).

Also, the other BIG fix needed is the 404's coming from the pagination issue we discussed. I don't think Google likes huge amounts of 404's on a site, so jumping on this one soon would be good.

So....can I get a sneak peak at the big change now?? Surely you've got it running on a secret site somewhere.... ;)

Leo Blanchette

« Reply #40 on: May 09, 2013, 00:01 »
+1
Overall it seems things are running smoothly. I think what is needed is that FINAL version (you know, final enough to be out of beta) then make one aggressive bug fix thread so I can rest for a while.

The initial release was just enough to work at basics...it did not reflect what I had in mind for the finished product. This release will be far closer.

I think what I have to ask for is a lot of tolerance until the "big one" where I can finally just crush all the last bugs and call it good for a while.

Microstock Man

  • microstockman.com

« Reply #41 on: May 09, 2013, 01:06 »
0
Overall it seems things are running smoothly. I think what is needed is that FINAL version (you know, final enough to be out of beta) then make one aggressive bug fix thread so I can rest for a while.

The initial release was just enough to work at basics...it did not reflect what I had in mind for the finished product. This release will be far closer.

I think what I have to ask for is a lot of tolerance until the "big one" where I can finally just crush all the last bugs and call it good for a while.

Deal :)

« Reply #42 on: May 09, 2013, 08:57 »
0
Leo, just in case you are bored right now (LOL) I think the image processor does not like "Adobe RGB" color spaces and gives me an error without importing the image.

I don't have the error code right now. If you require it I can try to reproduce it but maybe you are already aware of this issue anyway.

« Reply #43 on: May 09, 2013, 09:52 »
0
Leo, just in case you are bored right now (LOL) I think the image processor does not like "Adobe RGB" color spaces and gives me an error without importing the image.

I don't have the error code right now. If you require it I can try to reproduce it but maybe you are already aware of this issue anyway.


Aha! That could explain the random errors i get. I am opening every one of my images anyway, i will add this to the things to check.

Leo Blanchette

« Reply #44 on: May 09, 2013, 13:02 »
0
Leo, just in case you are bored right now (LOL) I think the image processor does not like "Adobe RGB" color spaces and gives me an error without importing the image.

I don't have the error code right now. If you require it I can try to reproduce it but maybe you are already aware of this issue anyway.
definitely record the error for me. It should at worst convert to rgb....not abort

« Reply #45 on: May 09, 2013, 14:18 »
0
All our files are AdobeRGB and we've had no trouble with processing for weeks now. The customer resized files now keep the AdobeRGB profile since the latest update, but the previews and thumbs don't.

Leo Blanchette

« Reply #46 on: May 09, 2013, 14:46 »
0
Thats good to hear!

I delegated all the picture-resizing stuff to the wordpress image editor: https://codex.wordpress.org/Class_Reference/WP_Image_Editor its well developed!

The reason why previews are not showing it however is because of the watermarking process. I can look into it soon though.

Leo Blanchette

« Reply #47 on: May 10, 2013, 21:50 »
0
Good news! My related "related images" thread actually encouraged the creation of a new plugin: wordpress.org/support/topic/custom-query-related-posts-by-common-tag-amount

Using this plugin directly will not show image results, but I'm going to integrate it into Symbiostock with credit back to this person. I'm quite thankful for it.

« Reply #48 on: May 11, 2013, 10:06 »
0
I have not been around for a few days so am just catching up.  1.3.7 - if you reprocess the images should they show the copyright data if you copy the thumbnails/previews and open them, for instance, in photoshop?

« Reply #49 on: May 11, 2013, 12:21 »
0
I have not been around for a few days so am just catching up.  1.3.7 - if you reprocess the images should they show the copyright data if you copy the thumbnails/previews and open them, for instance, in photoshop?

Yes! It's awesome. It automatically fills in for you too a copyright notice and the image location. Leo did a great job on this.


 

Related Topics

  Subject / Started by Replies Last post
28 Replies
3185 Views
Last post August 05, 2013, 11:56
by LesPalenik
28 Replies
9174 Views
Last post March 11, 2016, 17:35
by fotografer
2 Replies
1119 Views
Last post February 18, 2016, 19:15
by signist80
0 Replies
1108 Views
Last post February 28, 2016, 23:11
by Rick_jo
0 Replies
921 Views
Last post September 22, 2019, 09:37
by charged

Sponsors

Microstock Poll Results