WXforum.net

Weather Software => GRLevel X Software => Topic started by: jeffm5690 on March 18, 2017, 09:55:53 AM

Title: Naming Convention Help
Post by: jeffm5690 on March 18, 2017, 09:55:53 AM
Normally the files uploaded by GrLevel look like this:

XXXX_br_1.jpg
etc

On my server this seems to be different. The second underscore is missing. 

How do I set it up so that it looks like XXXX_YY_Z.jpg - where XXXX is the radar location, YY the product and Z is the image number, going from 1, 2, ....

Thanks so much!
Title: Re: Naming Convention Help
Post by: Jáchym on March 18, 2017, 10:20:31 AM
Jeff the underscore is not such an issue, I could make some changes in the code,
but the problem is that for some reason some of your products have a name like this:

BR etc.
whereas other start with
CR1 etc.

And it has to be either or. Either there is always that 1 or it just starts like nothing, then 2 etc.

It has to be consistent.
Option 1:
BR, BR2, BR3, ...
or
BR1, BR2, BR3 etc.

But problem is what you have now:
BR, BR2, BR3
CR1, CR2
Title: Re: Naming Convention Help
Post by: Jáchym on March 18, 2017, 10:36:59 AM
Jeff please check your homepage, I made some changes directly in the script on your server, unfortunately loading your page led to my laptop crashing again and browser restart, so I will rather not try again. If it does not work let me know and we will have to leave it for tomorrow when Im at work the whole day and I can look at it during break
Title: Re: Naming Convention Help
Post by: jeffm5690 on March 18, 2017, 10:48:42 AM
Jeff please check your homepage, I made some changes directly in the script on your server, unfortunately loading your page led to my laptop crashing again and browser restart, so I will rather not try again. If it does not work let me know and we will have to leave it for tomorrow when Im at work the whole day and I can look at it during break

It works!!!  Thanks!