Problem:
Resize PNG and SVG markers for a better quality. On mobile view, the PNG marker is displayed pixelated. Solution:
I checked it and the SVG markers are always resized to 32x32
There's a workaround to avoid it. You'll find the code line that controls this at line #565, in the file: "/toolset-maps/resources/js/wpv_addon_maps.js":
var scaledSize = new google.maps.Size(32, 32);
You could change the size value in the actual plugin file if needed, but since this part of code is not filterable, it is not possible to change it with a hook for example, you'd have to edit the file itself. ( please note that you'll need to keep track of this edit, as future plugin updates will overwrite any changes )
I also checked that PNG files are shown in the map with the same size they've been uploaded, it is necessary to work with the image and upload the final version to use it.
Problem:
I have a CRED module in which the user can upload photos. I would like to limit the size of each file to 5 MB and also the format. How can I do this? Solution:
To apply validation on the uploaded file's type and size, you can use the "cred_form_validate" hook: https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate
toolset: Site key does not match for domain.com subscription-fetching 2024-06-03 06:03:26
Solution:
There were instances in the past where this issue was resolved by recreating the license and registering Toolset again. Can you please follow these steps to try to fix the issue?
- Go to https://toolset.com/account/ and remove the key for your site
- Click on 'Add new site' and add your site again and save the new generated key(when adding it again, please make sure to add it exactly as it is registered within the site's DB, eg: with or without https, with or without WWW)
- Go to Plugins > Add New
- Click on "Commercial"
- Click on "Register Toolset" and try to register Toolset again with the new generated key
Problem:
I need advice choosing a translation plugin for my website. I usually work with Polylang, but I would like to know if there's a better option working with Toolset, like WPML. Solution:
We told the customer that gor getting the most compatibility out of Toolset with a multilingual plugin we'd recommend WPML. This plugin is also part of Toolset's family and it is developed by the same company and highly tested with Toolset.