Silverstripe 3.1.2 Issue saving FocusPoint when module used with Gallery module - image

I'm using two great modules for Silverstripe 3 but there is a conflict somewhere which I can't work out. I've asked the developers but they have not found the solution yet.
Modules:
FocusPoint which allows you to choose where the image crops from. Great!
https://github.com/jonom/silverstripe-focuspoint
Gallery, popular gallery module.
https://github.com/frankmullenger/silverstripe-gallery
Both work fine. But Focus points do not "save" within the gallery section of a Gallery page. You can edit and choose the focus point but after saving it snaps back to the previous position. You can alter the focus point in the Files tab of the CMS so it must be how Gallery saves each image.
I have updated the template to CroppedFocusedImage but this is not a template issue.
It would be a very helpful addition.

Can you please provide some details of failure? Do you see any warning or error messages if you run in dev mode? Any small black error box on left-top when you save?
If FocusPoint module does not work, you can have a look at folder permissions or maybe any PHP libraries like ImageMagick, GD support etc. Maybe you you changed something during upgrade?
If both modules work individually, but the problem is cropped image is not saved in correct directory, it is another issue although it could still be permission issue.
You can set which folder it needs to save into, same as how you set in normal UploadField. But it wouldn't change just because of your upgrade.

For anyone looking for the answer it has been resolved here: https://github.com/frankmullenger/silverstripe-gallery/pull/23

Related

In Magento ,I cant upload the image in the products

In magneto when i create the new products. I cant upload the product image. That page shows error like this
"Image type and information need to be specified for each store view. "
I cleared the Cache Storage but i also face this issue. Please help to solve this issue
I fixed problem below. I found solution from google.
Go chrome settings,
chrome://settings/content
Content settings flash
Choose Allow sites
This solution fixed my problem.
Usually this problem is browser based (corrupted flash player plugin)
Checklist suggested for it:
Check in another browser, if it is working try to reset the browser where it is giving problem.
missing /media directory or if /media directory has no write permission.
prototype js version is also causes this but rarely. (Only when you are doing up gradation or installing incompatible magento extension)
Let me know which one is working for you.
If you can’t upload images for a product in your admin section of magento it may have something to do with your flash plugin in your browser.Please disable Flash in your browser.
Use Magento HTML5 Uploader Extension. Extension link is below: https://marketplace.magento.com/mavenecommerce-html5-uploader.html
Just add those tags in layout file you can find solution here fixed

Joomla articles and modules not showing on small screens

I'm really quite new to Joomla and I've encountered a problem. On my homepage the article is showing just fine, but all the other modules (except for the menu bar) disappear when I switch to a smaller screen size. On my other pages the article doesn't even show anymore, just the menu bar. I'm using the purity III template. I have no idea what's going on since the settings in the layout of the template indicate that all modules that are showing on a desktop should also be displayed on a mobile device, and I've found no difference in settings in the articles itself. My site.
Thanks for your help!
It sounds like the responsive design hides them on purpose.
Just from a quick peek at your code using inspect element I can see that the class "slideshow hidden-xs" gets a display:none on smaller screen sizes and all of your main content is wrapped in that element. If all of your content is not supposed to be wrapped in that element (which I'm guessing it's not) you're most likely missing a closing tag on a div or something.
Find the missing closing tag (ie: /div, /a, etc) and it will probably solve your problem.
You can update the latest version of Joomla and check again that some problem is coming or not. I yes then download new theme for your website which is compatible with your theme.

No images on any custom theme on any forum software

I have a forum: mstga.webnekodesigns.com/forum
When I use the default theme, everything is fine. However, no images will show when I use any custom theme. I have made sure I am using themes for the correct version of phpBB. I got frustrated and tried a different forum software, MyBB and had the exact same issue, where the default theme worked fine but any custom themes will not show images. So I assume this is not forum software but something on the server. It is an Apache server hosted through HostPapa.
One thing I notice is that if I try to go to the images directly, they also act different. For example, if I go to mstga.webnekodesigns.com/forum/styles/prosilver/imageset/site_logo.gif, which is one of the default themes, I can see the image. However if I go to the same image in the downloaded theme, I get a 404 error, permission denied, however the file permissions are exactly the same.
This sounds super simple but I can't find the solution. I appreciate the help.

joomla and nivo slider woes

So in short, i dont mess with Joomla at all (been a few years) and today i get a "hey can you fix this" problem which ive dedicated too much time to and i cant seem to figure out the problem. i definitively need help
The website is http://www.inrecordtime.net
The problem is that, the slider doesn't fully work and by "fully" i mean that, everything is in place, ive checked paths and replaced the original files with updated versions, also changed out the google hosted cdn version of jquery with a local copy, checked image paths etc....and nothing.
What happens is that when the page loads, the first image on the slider loads, but the slider doesnt "slide" its just one image in place.
Ive tested the images on firebug and they load fine.
Ive removed the parameters in the slider and left it as a regular function call like jQuery('#slider').nivoSlider(); and nothing.
i placed back the parameters and within the slider, one of the parameters is startSlide
and this parameter instructs the slider to start at a specific image in the list.
currently its at "0" which is the first image, when i change it like so startSlide: 2 for example, and then reload the page, the slider starts at the second image (which indicates the not fully working part of it all ) but again, the slider doesnt "slide".
I suggested to the higher ups that instead of mixing it all up, to let me hard code it but that was shot down because they want them to be able to change the images.
Im really lost so any help or code or suggestion etc, i humbly appreciate.
Thanks in advanced.
Based on the errors that are popping up in my console, you likely need to update the jquery.nivo.slider.pack.js file to a later version, which you can grab from here: https://github.com/gilbitron/Nivo-Slider/blob/master/jquery.nivo.slider.pack.js
The version you are running relies on the live function in jquery, which was deprecated and I think is now removed, hence the errors being thrown now that you use the latest jquery version. The new version of nivo slider has been updated to rely on the new on function of jquery and should run.
Looks like your version is located here: http://www.inrecordtime.net/templates/IRT/scripts/nivo-settings/jquery.nivo.slider.pack.js

Why do my images break in Visual Studio when they have the word "order" in them?

I've been banging my head trying to find the cause of why my images weren't loading, heres my basic work flow.
create image in Photoshop CS5
export for web/device (PNG/GIF/JPG)
save to images folder
drag the images into visual studio with the
rest of them
Now I've been using this method for a very long time, and after returning from holidays I couldn't figure out why this wasn't working any more. When the page loads it shows the missing image icon. Firebug couldn't locate the image, CSS was not reading it neither would an <img> tag.
A LONG time later it turns out I found the root cause, my image was named "order_header_bg.png" if I dropped the word "order" from the title it appeared!
I can't figure out why its doing it, I can't find any docs on image naming conventions, so the only work around is not to include the word. Its not a problem but I'm more curious as to why is doesn't behave as expected. Is this unique to my environment?
Do you have any ad-blocking software installed on your machine? They can be rather aggressive about what they block.
I had a client who had Norton Ad Blocker installed and was reporting that she could not see the navigation on her site. Her particular problem was that she was running an advertising agency, and thus all of her links were deemed as spam.
To answer my own question: Its goosed.

Resources